1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 20:17:45 +00:00

use cargo idioms to manage dependency resolution and compilation

This commit is contained in:
Nathan Ross 2015-11-22 15:45:04 -05:00
parent a21c54e2cd
commit 502957dc3e
178 changed files with 765 additions and 616 deletions

View file

@ -4,6 +4,7 @@ version = "0.0.1"
authors = []
build = "build.rs"
[features]
default = ["all"]
all = [
@ -58,6 +59,7 @@ all = [
"sleep",
"sort",
"split",
"stdbuf",
"sum",
"sync",
"tac",
@ -134,6 +136,7 @@ shuf = { optional=true, path="src/shuf" }
sleep = { optional=true, path="src/sleep" }
sort = { optional=true, path="src/sort" }
split = { optional=true, path="src/split" }
stdbuf = { optional=true, path="src/stdbuf" }
sum = { optional=true, path="src/sum" }
sync = { optional=true, path="src/sync" }
tac = { optional=true, path="src/tac" }
@ -173,5 +176,5 @@ tempdir="*"
[[bin]]
name="uutils"
path="src/uutils/uutils_cargo.rs"
path="src/uutils/uutils.rs"