Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/uu/cp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ uucore = { workspace = true, features = [
"fs",
"perms",
"mode",
"update-control",
] }
walkdir = { workspace = true }
indicatif = { workspace = true }
Expand Down
6 changes: 5 additions & 1 deletion src/uu/mv/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ path = "src/mv.rs"
clap = { workspace = true }
fs_extra = { workspace = true }
indicatif = { workspace = true }
uucore = { workspace = true, features = ["backup-control", "fs"] }
uucore = { workspace = true, features = [
"backup-control",
"fs",
"update-control",
] }

[[bin]]
name = "mv"
Expand Down
9 changes: 5 additions & 4 deletions src/uucore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,10 @@ lines = []
memo = ["itertools"]
mode = ["libc"]
perms = ["libc", "walkdir"]
pipes = []
process = ["libc"]
ringbuffer = []
signals = []
utf8 = []
utmpx = ["time", "time/macros", "libc", "dns-lookup"]
wide = []
pipes = []
sum = [
"digest",
"hex",
Expand All @@ -99,3 +96,7 @@ sum = [
"blake3",
"sm3",
]
update-control = []
utf8 = []
utmpx = ["time", "time/macros", "libc", "dns-lookup"]
wide = []
2 changes: 2 additions & 0 deletions src/uucore/src/lib/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ pub mod ringbuffer;
pub mod sum;
#[cfg(feature = "memo")]
mod tokenize;
#[cfg(feature = "update-control")]
pub mod update_control;

// * (platform-specific) feature-gated modules
// ** non-windows (i.e. Unix + Fuchsia)
Expand Down
3 changes: 2 additions & 1 deletion src/uucore/src/lib/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ pub use crate::mods::os;
pub use crate::mods::panic;
pub use crate::mods::quoting_style;
pub use crate::mods::ranges;
pub use crate::mods::update_control;
pub use crate::mods::version_cmp;

// * string parsing modules
Expand All @@ -53,6 +52,8 @@ pub use crate::features::memo;
pub use crate::features::ringbuffer;
#[cfg(feature = "sum")]
pub use crate::features::sum;
#[cfg(feature = "update-control")]
pub use crate::features::update_control;

// * (platform-specific) feature-gated modules
// ** non-windows (i.e. Unix + Fuchsia)
Expand Down
1 change: 0 additions & 1 deletion src/uucore/src/lib/mods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ pub mod line_ending;
pub mod os;
pub mod panic;
pub mod ranges;
pub mod update_control;
pub mod version_cmp;
// dir and vdir also need access to the quoting_style module
pub mod quoting_style;