mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-02 05:57:46 +00:00
uucore: fix: use updated 'wild' crate for globbing
This commit is contained in:
parent
8684a148ca
commit
289c052600
2 changed files with 2 additions and 6 deletions
|
@ -10,7 +10,7 @@ failure_derive = { version = "0.1.1", optional = true }
|
||||||
time = { version = "0.1.40", optional = true }
|
time = { version = "0.1.40", optional = true }
|
||||||
data-encoding = { version = "^2.1", optional = true }
|
data-encoding = { version = "^2.1", optional = true }
|
||||||
libc = { version = "0.2.42", optional = true }
|
libc = { version = "0.2.42", optional = true }
|
||||||
wild = { git = "https://gitlab.com/rivy/wild.git" }
|
wild = "2.0.1"
|
||||||
|
|
||||||
[target.'cfg(target_os = "redox")'.dependencies]
|
[target.'cfg(target_os = "redox")'.dependencies]
|
||||||
termion = "1.5"
|
termion = "1.5"
|
||||||
|
|
|
@ -1,13 +1,9 @@
|
||||||
extern crate wild;
|
extern crate wild;
|
||||||
|
|
||||||
pub fn args() -> Box<Iterator<Item=String>> {
|
pub fn args() -> impl Iterator<Item=String> {
|
||||||
wild::args()
|
wild::args()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn args_os() -> Box<Iterator<Item=std::ffi::OsString>> {
|
|
||||||
wild::args_os()
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg(feature = "libc")]
|
#[cfg(feature = "libc")]
|
||||||
pub extern crate libc;
|
pub extern crate libc;
|
||||||
#[cfg(feature = "winapi")]
|
#[cfg(feature = "winapi")]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue