mirror of
https://github.com/uutils/coreutils
synced 2024-12-16 16:22:40 +00:00
d4f39e1638
With this change, individual submodules can specify their dependencies with an additional file called "deps.mk" in the subdir. When building, only the dependencies that are necessary are built, using cargo, and then linked. This greatly simplifies adding new dependencies: add the package in deps/Cargo.toml, and add the appropriate line in "deps.mk" in the src/utilname/ directory, and the dependency will be built automatically as needed. This also removes the need to use git submodules.
16 lines
240 B
TOML
16 lines
240 B
TOML
[project]
|
|
name = "deps"
|
|
version = "0.0.0"
|
|
|
|
[lib]
|
|
name = "null"
|
|
|
|
[dependencies]
|
|
libc = "0.1.6"
|
|
rand = "0.3.8"
|
|
regex = "0.1.30"
|
|
regex_macros = "0.1.17"
|
|
rust-crypto = "0.2.31"
|
|
rustc-serialize = "0.3.13"
|
|
time = "0.1.25"
|
|
unicode-width = "0.1.1"
|