mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-14 06:02:36 +00:00
⬆️ bump lscolors to v0.15.0 and msrv to 1.69.0 (#944)
<!--- PR Description ---> predicates v3 msrv is 1.69 in https://github.com/lsd-rs/lsd/pull/938
This commit is contained in:
parent
59dc141c74
commit
64f9dab351
7 changed files with 9 additions and 9 deletions
2
.github/workflows/CICD.yml
vendored
2
.github/workflows/CICD.yml
vendored
|
@ -6,7 +6,7 @@ env:
|
||||||
PROJECT_NAME: lsd
|
PROJECT_NAME: lsd
|
||||||
PROJECT_DESC: "An ls command with a lot of pretty colors."
|
PROJECT_DESC: "An ls command with a lot of pretty colors."
|
||||||
PROJECT_AUTH: "Peltoche <peltoche@halium.fr>"
|
PROJECT_AUTH: "Peltoche <peltoche@halium.fr>"
|
||||||
RUST_MIN_SRV: "1.64.0"
|
RUST_MIN_SRV: "1.69.0"
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -522,9 +522,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lscolors"
|
name = "lscolors"
|
||||||
version = "0.14.0"
|
version = "0.15.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "18a9df1d1fb6d9e92fa043e9eb9a3ecf6892c7b542bae5137cd1e419e40aa8bf"
|
checksum = "bf7015a04103ad78abb77e4b79ed151e767922d1cfde5f62640471c629a2320d"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lsd"
|
name = "lsd"
|
||||||
|
|
|
@ -33,7 +33,7 @@ once_cell = "1.17.1"
|
||||||
chrono = { version = "0.4.*", features = ["unstable-locales"] }
|
chrono = { version = "0.4.*", features = ["unstable-locales"] }
|
||||||
chrono-humanize = "0.1.*"
|
chrono-humanize = "0.1.*"
|
||||||
unicode-width = "0.1.*"
|
unicode-width = "0.1.*"
|
||||||
lscolors = "0.14.0"
|
lscolors = "0.15.0"
|
||||||
wild = "2.0.*"
|
wild = "2.0.*"
|
||||||
globset = "0.4.*"
|
globset = "0.4.*"
|
||||||
xdg = "2.1.*"
|
xdg = "2.1.*"
|
||||||
|
|
4
build.rs
4
build.rs
|
@ -16,8 +16,8 @@ include!("src/app.rs");
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
// rustc version too small or can't figure it out
|
// rustc version too small or can't figure it out
|
||||||
if version_check::is_min_version("1.64.0") != Some(true) {
|
if version_check::is_min_version("1.69.0") != Some(true) {
|
||||||
eprintln!("'lsd' requires rustc >= 1.64.0");
|
eprintln!("'lsd' requires rustc >= 1.69.0");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -386,7 +386,7 @@ mod tests {
|
||||||
// likely to fail because of permission issue
|
// likely to fail because of permission issue
|
||||||
// see https://doc.rust-lang.org/std/os/windows/fs/fn.symlink_file.html
|
// see https://doc.rust-lang.org/std/os/windows/fs/fn.symlink_file.html
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
std::os::windows::fs::symlink_file(&path_c, &path_b)
|
std::os::windows::fs::symlink_file(path_c, &path_b)
|
||||||
.expect("failed to create broken symlink");
|
.expect("failed to create broken symlink");
|
||||||
|
|
||||||
let meta_b = Meta::from_path(&path_b, true, false).expect("failed to get meta");
|
let meta_b = Meta::from_path(&path_b, true, false).expect("failed to get meta");
|
||||||
|
|
|
@ -378,7 +378,7 @@ mod tests {
|
||||||
// likely to fail because of permission issue
|
// likely to fail because of permission issue
|
||||||
// see https://doc.rust-lang.org/std/os/windows/fs/fn.symlink_file.html
|
// see https://doc.rust-lang.org/std/os/windows/fs/fn.symlink_file.html
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
std::os::windows::fs::symlink_file(&path_d, &path_c)
|
std::os::windows::fs::symlink_file(path_d, &path_c)
|
||||||
.expect("failed to create broken symlink");
|
.expect("failed to create broken symlink");
|
||||||
|
|
||||||
let meta_c = Meta::from_path(&path_c, true, false).expect("failed to get meta");
|
let meta_c = Meta::from_path(&path_c, true, false).expect("failed to get meta");
|
||||||
|
|
|
@ -303,7 +303,7 @@ fn test_dereference_link_broken_link_output() {
|
||||||
// likely to fail because of permission issue
|
// likely to fail because of permission issue
|
||||||
// see https://doc.rust-lang.org/std/os/windows/fs/fn.symlink_file.html
|
// see https://doc.rust-lang.org/std/os/windows/fs/fn.symlink_file.html
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
std::os::windows::fs::symlink_file(&target, &link).expect("failed to create broken symlink");
|
std::os::windows::fs::symlink_file(target, &link).expect("failed to create broken symlink");
|
||||||
|
|
||||||
cmd()
|
cmd()
|
||||||
.arg("-l")
|
.arg("-l")
|
||||||
|
|
Loading…
Reference in a new issue