bindeps-simple

Crates.iobindeps-simple
lib.rsbindeps-simple
version0.2.5
created_at2025-06-12 06:12:24.018092+00
updated_at2025-06-20 09:03:22.903599+00
descriptionBoot kernel code with mmu.
homepage
repositoryhttps://github.com/rcore-os/bindeps-simple
max_upload_size
id1709397
size57,513
周睿 (ZR233)

documentation

README

Bindeps

Bindeps is used to get the dependencies as bin, with more options in stable channel.

Usage

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.

Commit count: 22

cargo fmt