diff --git a/Cargo.toml b/Cargo.toml index 5008111..f681a28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,71 +26,70 @@ default = ["feat_common_core"] uudoc = [] feat_common_core = [ + "ctrlaltdel", + "dmesg", "fsfreeze", - "mountpoint", + "last", "lscpu", "lsmem", - "ctrlaltdel", + "mountpoint", "rev", "setsid", - "last", - "dmesg" ] [workspace.dependencies] -uucore = "0.0.28" clap = { version = "4.4", features = ["wrap_help", "cargo"] } clap_complete = "4.4" clap_mangen = "0.2" -regex = "1.10.2" -sysinfo = "0.33" +dns-lookup = "2.0.4" libc = "0.2.152" +linux-raw-sys = { version = "0.7.0", features = ["ioctl"] } +nix = { version = "0.29", default-features = false } phf = "0.11.2" phf_codegen = "0.11.2" -textwrap = { version = "0.16.0", features = ["terminal_size"] } -xattr = "1.3.1" -nix = { version = "0.29", default-features = false } -tempfile = "3.9.0" rand = { version = "0.8", features = ["small_rng"] } +regex = "1.10.2" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.122" +sysinfo = "0.33" tabled = "0.17.0" -dns-lookup = "2.0.4" -linux-raw-sys = { version = "0.7.0", features = ["ioctl"] } +tempfile = "3.9.0" +textwrap = { version = "0.16.0", features = ["terminal_size"] } +uucore = "0.0.28" +xattr = "1.3.1" [dependencies] clap = { workspace = true } clap_complete = { workspace = true } clap_mangen = { workspace = true } -uucore = { workspace = true } +dns-lookup = { workspace = true } phf = { workspace = true } textwrap = { workspace = true } -dns-lookup = { workspace = true } +uucore = { workspace = true } -# +ctrlaltdel = { optional = true, version = "0.0.1", package = "uu_ctrlaltdel", path = "src/uu/ctrlaltdel" } +dmesg = { optional = true, version = "0.0.1", package = "uu_dmesg", path = "src/uu/dmesg" } fsfreeze = { optional = true, version = "0.0.1", package = "uu_fsfreeze", path = "src/uu/fsfreeze" } +last = { optional = true, version = "0.0.1", package = "uu_last", path = "src/uu/last" } lscpu = { optional = true, version = "0.0.1", package = "uu_lscpu", path = "src/uu/lscpu" } lsmem = { optional = true, version = "0.0.1", package = "uu_lsmem", path = "src/uu/lsmem" } mountpoint = { optional = true, version = "0.0.1", package = "uu_mountpoint", path = "src/uu/mountpoint" } -ctrlaltdel = { optional = true, version = "0.0.1", package = "uu_ctrlaltdel", path = "src/uu/ctrlaltdel" } rev = { optional = true, version = "0.0.1", package = "uu_rev", path = "src/uu/rev" } setsid = { optional = true, version = "0.0.1", package = "uu_setsid", path ="src/uu/setsid" } -last = { optional = true, version = "0.0.1", package = "uu_last", path = "src/uu/last" } -dmesg = { optional = true, version = "0.0.1", package = "uu_dmesg", path = "src/uu/dmesg" } [dev-dependencies] -pretty_assertions = "1" -regex = { workspace = true } -tempfile = { workspace = true } -libc = { workspace = true } -rand = { workspace = true } -uucore = { workspace = true, features = ["entries", "process", "signals"] } # dmesg test require fixed-boot-time feature turned on. dmesg = { version = "0.0.1", package = "uu_dmesg", path = "src/uu/dmesg", features = ["fixed-boot-time"] } +libc = { workspace = true } +pretty_assertions = "1" +rand = { workspace = true } +regex = { workspace = true } +tempfile = { workspace = true } +uucore = { workspace = true, features = ["entries", "process", "signals"] } [target.'cfg(unix)'.dev-dependencies] -xattr = { workspace = true } nix = { workspace = true, features = ["term"] } +xattr = { workspace = true } [target.'cfg(any(target_os = "linux", target_os = "android"))'.dev-dependencies] procfs = { version = "0.17", default-features = false }