python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to share a rust unpublished cdy lib into Buildroot and use it
When you create a custom rust library package into buildroot 2021, and you want to use it into another rust app package, you have to specify its path into Cargo.toml.
The problem is buildroot package ...
L. CEREYON
Votes: 0
Answers: 0
Rust can't resolve import from crate root but module is there with child modules available
I am trying to create a basic crud app with actix and diesel but there is a problem with diesel.
This is the folder structure of project:
|─ migrations
|─ src
| ├─ users
| ├─mod.rs
| ├─models.rs
|─ ...
Amir Heidari
Votes: 0
Answers: 1
Local crate not found when trying to update edition via cargo fix
Context:
I have a local C library called 'libmaths' that then uses Bindgen to create a 'libmaths-sys' crate that is locally stored in the same directory as my project.
Issue:
I want to use some of the...
Jambalaya
Votes: 0
Answers: 2
How to import a function in main.rs
This may be a stupid question, but I cannot seem to solve this.
I have this kind of file structure:
└── src
├── another.rs
├── some_file.rs
└── main.rs
In the some_file.rs, I want to call...
bichanna
Votes: 0
Answers: 1