#cargo-dependencies #build-script #dependencies

build my_dependencies

Enumerate dependencies of the current crate from a build script

1 unstable release

Uses old Rust 2015

0.1.0 Dec 3, 2019

#33 in #cargo-dependencies

MIT/Apache

10KB
217 lines

Provides the enumerate function, that lists all of the dependencies to the current crate.

This is designed to be run as part of a build script, so don't expect much luck without it.


"my dependencies" - Allows a build script to enumerate all of the Cargo.toml dependencies for the current crate.

Useful for including compile-time modules without needing to list the modules twice.

Dependencies

~2.5MB
~55K SLoC