mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-14 22:22:26 +00:00
9316300adf
Also added a few supporting functions. Every unsafe block (and there are many) has a list of assumptions that must be true. Most of them are easy to verify: for example, almost all pointers indicate something in the *sd_ptr buffer, which lives until the very end. The rest of the pointers are to something Rust allocated, so they'll also live to the end of the function.
46 lines
988 B
TOML
46 lines
988 B
TOML
[package]
|
|
authors = ["Peltoche <dev@halium.fr>"]
|
|
build = "build.rs"
|
|
categories = ["command-line-utilities"]
|
|
description = "An ls command with a lot of pretty colors and some other stuff."
|
|
keywords = ["ls"]
|
|
license = "Apache-2.0"
|
|
name = "lsd"
|
|
readme = "./README.md"
|
|
repository = "https://github.com/Peltoche/lsd"
|
|
version = "0.14.0"
|
|
edition = "2018"
|
|
|
|
[[bin]]
|
|
name = "lsd"
|
|
path = "src/main.rs"
|
|
|
|
[build-dependencies]
|
|
clap = "2.32.0"
|
|
version_check = "0.1.3"
|
|
|
|
[dependencies]
|
|
ansi_term = "0.11.0"
|
|
libc = "0.2.44"
|
|
term_grid = "0.1.7"
|
|
terminal_size = "0.1.8"
|
|
time = "0.1.40"
|
|
chrono-humanize = "0.0.11"
|
|
unicode-width = "0.1.5"
|
|
lscolors = "0.5.0"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
users = "0.8.0"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = {version = "0.3.6", features = ["aclapi", "accctrl", "winnt", "winerror", "securitybaseapi", "winbase"]}
|
|
|
|
[dependencies.clap]
|
|
features = ["suggestions", "color", "wrap_help"]
|
|
version = "2.32.0"
|
|
|
|
[dev-dependencies]
|
|
tempdir = "0.3.7"
|
|
|
|
[features]
|
|
sudo = []
|