| Crates.io | bindeps-simple |
| lib.rs | bindeps-simple |
| version | 0.2.5 |
| created_at | 2025-06-12 06:12:24.018092+00 |
| updated_at | 2025-06-20 09:03:22.903599+00 |
| description | Boot kernel code with mmu. |
| homepage | |
| repository | https://github.com/rcore-os/bindeps-simple |
| max_upload_size | |
| id | 1709397 |
| size | 57,513 |
Bindeps is used to get the dependencies as bin, with more options in stable channel.
Bin type dependency should have a lib.rs file, or it will be ignored.
[dependencies]
foo = { path = "path/to/foo", version = "0.1" }
[build-dependencies]
bindeps-simple = {version = "*"}
In build.rs:
let output = bindeps_simple::Builder::new("foo").build().unwrap();
let _ = output.elf;
The path of foo bin is in output.elf.