2018-11-12 12:33:47 +00:00
|
|
|
[package]
|
|
|
|
authors = ["Peltoche <dev@halium.fr>"]
|
2018-12-06 13:42:16 +00:00
|
|
|
build = "build.rs"
|
2018-11-25 11:29:12 +00:00
|
|
|
categories = ["command-line-utilities"]
|
2019-02-25 15:17:26 +00:00
|
|
|
description = "An ls command with a lot of pretty colors and some other stuff."
|
2018-11-25 11:29:12 +00:00
|
|
|
keywords = ["ls"]
|
2018-12-08 05:57:54 +00:00
|
|
|
license = "Apache-2.0"
|
2018-11-12 12:33:47 +00:00
|
|
|
name = "lsd"
|
2018-11-25 11:29:12 +00:00
|
|
|
readme = "./README.md"
|
2023-08-25 06:18:10 +00:00
|
|
|
repository = "https://github.com/lsd-rs/lsd"
|
2024-08-20 15:59:14 +00:00
|
|
|
version = "1.1.5"
|
2022-02-13 17:21:44 +00:00
|
|
|
edition = "2021"
|
2024-03-21 17:04:23 +00:00
|
|
|
rust-version = "1.74"
|
2018-11-12 12:33:47 +00:00
|
|
|
|
2018-12-06 13:42:16 +00:00
|
|
|
[[bin]]
|
|
|
|
name = "lsd"
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
[build-dependencies]
|
2024-03-01 15:36:05 +00:00
|
|
|
clap = { version = "4.3.*", features = ["derive"] }
|
|
|
|
clap_complete = "4.3"
|
2019-10-24 16:10:03 +00:00
|
|
|
version_check = "0.9.*"
|
2018-12-06 13:42:16 +00:00
|
|
|
|
2018-11-12 12:33:47 +00:00
|
|
|
[dependencies]
|
2023-08-29 21:01:11 +00:00
|
|
|
crossterm = { version = "0.27.0", features = ["serde"] }
|
2024-02-05 12:53:46 +00:00
|
|
|
dirs = "5"
|
2019-10-24 16:10:03 +00:00
|
|
|
libc = "0.2.*"
|
2020-09-24 18:09:26 +00:00
|
|
|
human-sort = "0.2.2"
|
2024-03-25 16:05:04 +00:00
|
|
|
# should stick to 0.1, the 0.2 needs some adaptation
|
|
|
|
# check https://github.com/lsd-rs/lsd/issues/1014
|
|
|
|
term_grid = "0.1"
|
2024-02-05 12:53:46 +00:00
|
|
|
terminal_size = "0.3"
|
2022-08-05 06:53:11 +00:00
|
|
|
thiserror = "1.0"
|
update various dependencies (#938)
I'm the maintainer of lsd for Fedora Linux, and some outdated
dependencies are making maintenance increasingly difficult.
- deps: update chrono-humanize to v0.2
We have this patched for almost two years in Fedora and it has not
caused issues.
- deps: update assert_cmd to v2
Same here, this patch has been in the Fedora package for a while.
- deps: update sys-locale to v0.3
This dependency seems to have been added recently, not sure why an old
version was chosen.
- deps: update vsort to v0.2
Same here, this was added recently but 0.1 was used instead of 0.2, not
sure why.
- deps: update git2 to v0.18
Using old versions of git2 is not a good idea, since the bundled libgit2
C library often has CVE issues.
- deps: migrate from users to uzers
The "users" crate is unmaintained. The "uzers" crate is an
API-compatible fork that also fixes some bugs and security issues.
- deps: update serial_test to v2
The current dependency (v0.5) is **reeeeeally** old. Not sure why this
was never updated.
- deps: update predicates to v3
Same here, predicates v1 is **reaally** old.
- deps: allow newer versions of url, wild, and xdg crates
Not sure why strange `x.0.*` style dependencies were used here. It's
holding back various updates for both url and xdg crates, and makes
maintaining lsd in Fedora more difficult. We have built lsd against the
latest versions of all three crates forever, and it has not caused
issues.
2023-12-20 03:44:20 +00:00
|
|
|
sys-locale = "0.3"
|
2023-03-13 02:44:54 +00:00
|
|
|
once_cell = "1.17.1"
|
2024-03-01 15:36:05 +00:00
|
|
|
chrono = { version = "0.4.19", features = ["unstable-locales"] }
|
update various dependencies (#938)
I'm the maintainer of lsd for Fedora Linux, and some outdated
dependencies are making maintenance increasingly difficult.
- deps: update chrono-humanize to v0.2
We have this patched for almost two years in Fedora and it has not
caused issues.
- deps: update assert_cmd to v2
Same here, this patch has been in the Fedora package for a while.
- deps: update sys-locale to v0.3
This dependency seems to have been added recently, not sure why an old
version was chosen.
- deps: update vsort to v0.2
Same here, this was added recently but 0.1 was used instead of 0.2, not
sure why.
- deps: update git2 to v0.18
Using old versions of git2 is not a good idea, since the bundled libgit2
C library often has CVE issues.
- deps: migrate from users to uzers
The "users" crate is unmaintained. The "uzers" crate is an
API-compatible fork that also fixes some bugs and security issues.
- deps: update serial_test to v2
The current dependency (v0.5) is **reeeeeally** old. Not sure why this
was never updated.
- deps: update predicates to v3
Same here, predicates v1 is **reaally** old.
- deps: allow newer versions of url, wild, and xdg crates
Not sure why strange `x.0.*` style dependencies were used here. It's
holding back various updates for both url and xdg crates, and makes
maintaining lsd in Fedora more difficult. We have built lsd against the
latest versions of all three crates forever, and it has not caused
issues.
2023-12-20 03:44:20 +00:00
|
|
|
chrono-humanize = "0.2"
|
2024-06-19 05:11:57 +00:00
|
|
|
# incompatible with v0.1.11
|
2024-06-19 05:06:15 +00:00
|
|
|
unicode-width = "0.1.13"
|
2024-02-05 12:53:46 +00:00
|
|
|
lscolors = "0.16.0"
|
update various dependencies (#938)
I'm the maintainer of lsd for Fedora Linux, and some outdated
dependencies are making maintenance increasingly difficult.
- deps: update chrono-humanize to v0.2
We have this patched for almost two years in Fedora and it has not
caused issues.
- deps: update assert_cmd to v2
Same here, this patch has been in the Fedora package for a while.
- deps: update sys-locale to v0.3
This dependency seems to have been added recently, not sure why an old
version was chosen.
- deps: update vsort to v0.2
Same here, this was added recently but 0.1 was used instead of 0.2, not
sure why.
- deps: update git2 to v0.18
Using old versions of git2 is not a good idea, since the bundled libgit2
C library often has CVE issues.
- deps: migrate from users to uzers
The "users" crate is unmaintained. The "uzers" crate is an
API-compatible fork that also fixes some bugs and security issues.
- deps: update serial_test to v2
The current dependency (v0.5) is **reeeeeally** old. Not sure why this
was never updated.
- deps: update predicates to v3
Same here, predicates v1 is **reaally** old.
- deps: allow newer versions of url, wild, and xdg crates
Not sure why strange `x.0.*` style dependencies were used here. It's
holding back various updates for both url and xdg crates, and makes
maintaining lsd in Fedora more difficult. We have built lsd against the
latest versions of all three crates forever, and it has not caused
issues.
2023-12-20 03:44:20 +00:00
|
|
|
wild = "2.0"
|
2019-10-24 16:10:03 +00:00
|
|
|
globset = "0.4.*"
|
2020-09-24 18:09:26 +00:00
|
|
|
yaml-rust = "0.4.*"
|
2020-10-31 10:20:59 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2024-02-05 12:53:46 +00:00
|
|
|
serde_yaml = "0.9"
|
update various dependencies (#938)
I'm the maintainer of lsd for Fedora Linux, and some outdated
dependencies are making maintenance increasingly difficult.
- deps: update chrono-humanize to v0.2
We have this patched for almost two years in Fedora and it has not
caused issues.
- deps: update assert_cmd to v2
Same here, this patch has been in the Fedora package for a while.
- deps: update sys-locale to v0.3
This dependency seems to have been added recently, not sure why an old
version was chosen.
- deps: update vsort to v0.2
Same here, this was added recently but 0.1 was used instead of 0.2, not
sure why.
- deps: update git2 to v0.18
Using old versions of git2 is not a good idea, since the bundled libgit2
C library often has CVE issues.
- deps: migrate from users to uzers
The "users" crate is unmaintained. The "uzers" crate is an
API-compatible fork that also fixes some bugs and security issues.
- deps: update serial_test to v2
The current dependency (v0.5) is **reeeeeally** old. Not sure why this
was never updated.
- deps: update predicates to v3
Same here, predicates v1 is **reaally** old.
- deps: allow newer versions of url, wild, and xdg crates
Not sure why strange `x.0.*` style dependencies were used here. It's
holding back various updates for both url and xdg crates, and makes
maintaining lsd in Fedora more difficult. We have built lsd against the
latest versions of all three crates forever, and it has not caused
issues.
2023-12-20 03:44:20 +00:00
|
|
|
url = "2.1"
|
|
|
|
vsort = "0.2"
|
2024-03-01 15:36:05 +00:00
|
|
|
xdg = "2.5"
|
2018-11-30 13:53:54 +00:00
|
|
|
|
2023-04-30 16:26:15 +00:00
|
|
|
[target."cfg(not(all(windows, target_arch = \"x86\", target_env = \"gnu\")))".dependencies]
|
|
|
|
# if ssl feature is enabled compilation will fail on arm-unknown-linux-gnueabihf and i686-pc-windows-gnu
|
update various dependencies (#938)
I'm the maintainer of lsd for Fedora Linux, and some outdated
dependencies are making maintenance increasingly difficult.
- deps: update chrono-humanize to v0.2
We have this patched for almost two years in Fedora and it has not
caused issues.
- deps: update assert_cmd to v2
Same here, this patch has been in the Fedora package for a while.
- deps: update sys-locale to v0.3
This dependency seems to have been added recently, not sure why an old
version was chosen.
- deps: update vsort to v0.2
Same here, this was added recently but 0.1 was used instead of 0.2, not
sure why.
- deps: update git2 to v0.18
Using old versions of git2 is not a good idea, since the bundled libgit2
C library often has CVE issues.
- deps: migrate from users to uzers
The "users" crate is unmaintained. The "uzers" crate is an
API-compatible fork that also fixes some bugs and security issues.
- deps: update serial_test to v2
The current dependency (v0.5) is **reeeeeally** old. Not sure why this
was never updated.
- deps: update predicates to v3
Same here, predicates v1 is **reaally** old.
- deps: allow newer versions of url, wild, and xdg crates
Not sure why strange `x.0.*` style dependencies were used here. It's
holding back various updates for both url and xdg crates, and makes
maintaining lsd in Fedora more difficult. We have built lsd against the
latest versions of all three crates forever, and it has not caused
issues.
2023-12-20 03:44:20 +00:00
|
|
|
git2 = { version = "0.18", optional = true, default-features = false }
|
2023-04-30 16:26:15 +00:00
|
|
|
|
2019-02-02 22:35:22 +00:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
update various dependencies (#938)
I'm the maintainer of lsd for Fedora Linux, and some outdated
dependencies are making maintenance increasingly difficult.
- deps: update chrono-humanize to v0.2
We have this patched for almost two years in Fedora and it has not
caused issues.
- deps: update assert_cmd to v2
Same here, this patch has been in the Fedora package for a while.
- deps: update sys-locale to v0.3
This dependency seems to have been added recently, not sure why an old
version was chosen.
- deps: update vsort to v0.2
Same here, this was added recently but 0.1 was used instead of 0.2, not
sure why.
- deps: update git2 to v0.18
Using old versions of git2 is not a good idea, since the bundled libgit2
C library often has CVE issues.
- deps: migrate from users to uzers
The "users" crate is unmaintained. The "uzers" crate is an
API-compatible fork that also fixes some bugs and security issues.
- deps: update serial_test to v2
The current dependency (v0.5) is **reeeeeally** old. Not sure why this
was never updated.
- deps: update predicates to v3
Same here, predicates v1 is **reaally** old.
- deps: allow newer versions of url, wild, and xdg crates
Not sure why strange `x.0.*` style dependencies were used here. It's
holding back various updates for both url and xdg crates, and makes
maintaining lsd in Fedora more difficult. We have built lsd against the
latest versions of all three crates forever, and it has not caused
issues.
2023-12-20 03:44:20 +00:00
|
|
|
users = { version = "0.11.3", package = "uzers" }
|
2023-09-26 15:21:19 +00:00
|
|
|
xattr = "1"
|
2019-02-02 22:35:22 +00:00
|
|
|
|
2019-02-03 04:04:30 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-11-06 19:56:57 +00:00
|
|
|
windows = { version = "0.43.0", features = ["Win32_Foundation", "Win32_Security_Authorization", "Win32_Storage_FileSystem", "Win32_System_Memory"] }
|
2019-02-03 04:04:30 +00:00
|
|
|
|
2018-12-06 13:42:16 +00:00
|
|
|
[dependencies.clap]
|
2023-03-02 19:22:58 +00:00
|
|
|
features = ["derive", "wrap_help"]
|
2024-03-01 15:36:05 +00:00
|
|
|
version = "4.3.*"
|
2018-12-09 15:53:20 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
update various dependencies (#938)
I'm the maintainer of lsd for Fedora Linux, and some outdated
dependencies are making maintenance increasingly difficult.
- deps: update chrono-humanize to v0.2
We have this patched for almost two years in Fedora and it has not
caused issues.
- deps: update assert_cmd to v2
Same here, this patch has been in the Fedora package for a while.
- deps: update sys-locale to v0.3
This dependency seems to have been added recently, not sure why an old
version was chosen.
- deps: update vsort to v0.2
Same here, this was added recently but 0.1 was used instead of 0.2, not
sure why.
- deps: update git2 to v0.18
Using old versions of git2 is not a good idea, since the bundled libgit2
C library often has CVE issues.
- deps: migrate from users to uzers
The "users" crate is unmaintained. The "uzers" crate is an
API-compatible fork that also fixes some bugs and security issues.
- deps: update serial_test to v2
The current dependency (v0.5) is **reeeeeally** old. Not sure why this
was never updated.
- deps: update predicates to v3
Same here, predicates v1 is **reaally** old.
- deps: allow newer versions of url, wild, and xdg crates
Not sure why strange `x.0.*` style dependencies were used here. It's
holding back various updates for both url and xdg crates, and makes
maintaining lsd in Fedora more difficult. We have built lsd against the
latest versions of all three crates forever, and it has not caused
issues.
2023-12-20 03:44:20 +00:00
|
|
|
assert_cmd = "2"
|
2020-04-16 10:53:57 +00:00
|
|
|
assert_fs = "1"
|
update various dependencies (#938)
I'm the maintainer of lsd for Fedora Linux, and some outdated
dependencies are making maintenance increasingly difficult.
- deps: update chrono-humanize to v0.2
We have this patched for almost two years in Fedora and it has not
caused issues.
- deps: update assert_cmd to v2
Same here, this patch has been in the Fedora package for a while.
- deps: update sys-locale to v0.3
This dependency seems to have been added recently, not sure why an old
version was chosen.
- deps: update vsort to v0.2
Same here, this was added recently but 0.1 was used instead of 0.2, not
sure why.
- deps: update git2 to v0.18
Using old versions of git2 is not a good idea, since the bundled libgit2
C library often has CVE issues.
- deps: migrate from users to uzers
The "users" crate is unmaintained. The "uzers" crate is an
API-compatible fork that also fixes some bugs and security issues.
- deps: update serial_test to v2
The current dependency (v0.5) is **reeeeeally** old. Not sure why this
was never updated.
- deps: update predicates to v3
Same here, predicates v1 is **reaally** old.
- deps: allow newer versions of url, wild, and xdg crates
Not sure why strange `x.0.*` style dependencies were used here. It's
holding back various updates for both url and xdg crates, and makes
maintaining lsd in Fedora more difficult. We have built lsd against the
latest versions of all three crates forever, and it has not caused
issues.
2023-12-20 03:44:20 +00:00
|
|
|
predicates = "3"
|
2019-06-09 19:53:22 +00:00
|
|
|
tempfile = "3"
|
update various dependencies (#938)
I'm the maintainer of lsd for Fedora Linux, and some outdated
dependencies are making maintenance increasingly difficult.
- deps: update chrono-humanize to v0.2
We have this patched for almost two years in Fedora and it has not
caused issues.
- deps: update assert_cmd to v2
Same here, this patch has been in the Fedora package for a while.
- deps: update sys-locale to v0.3
This dependency seems to have been added recently, not sure why an old
version was chosen.
- deps: update vsort to v0.2
Same here, this was added recently but 0.1 was used instead of 0.2, not
sure why.
- deps: update git2 to v0.18
Using old versions of git2 is not a good idea, since the bundled libgit2
C library often has CVE issues.
- deps: migrate from users to uzers
The "users" crate is unmaintained. The "uzers" crate is an
API-compatible fork that also fixes some bugs and security issues.
- deps: update serial_test to v2
The current dependency (v0.5) is **reeeeeally** old. Not sure why this
was never updated.
- deps: update predicates to v3
Same here, predicates v1 is **reaally** old.
- deps: allow newer versions of url, wild, and xdg crates
Not sure why strange `x.0.*` style dependencies were used here. It's
holding back various updates for both url and xdg crates, and makes
maintaining lsd in Fedora more difficult. We have built lsd against the
latest versions of all three crates forever, and it has not caused
issues.
2023-12-20 03:44:20 +00:00
|
|
|
serial_test = "2.0"
|
2018-12-09 15:53:20 +00:00
|
|
|
|
|
|
|
[features]
|
2023-04-30 16:26:15 +00:00
|
|
|
default = ["git2"]
|
2018-12-09 15:53:20 +00:00
|
|
|
sudo = []
|
2023-04-30 16:26:15 +00:00
|
|
|
no-git = [] # force disabling git even if available by default
|
2022-08-21 14:18:47 +00:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
|
|
|
strip = true
|
2022-09-05 09:23:06 +00:00
|
|
|
debug = false
|