refactor/uucore ~ revise 'Cargo.toml' towards repo norms

This commit is contained in:
Roy Ivy III 2020-11-08 00:04:22 -06:00
parent 2b4b31a9ee
commit 688db0d4a2

View file

@ -7,6 +7,7 @@ description = "uutils ~ 'core' uutils code library (cross-platform)"
homepage = "https://github.com/uutils/coreutils"
repository = "https://github.com/uutils/coreutils/tree/master/src/uu/arch"
# readme = "README.md"
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
categories = ["command-line-utilities"]
edition = "2018"
@ -18,27 +19,25 @@ path="src/lib/lib.rs"
dunce = "1.0.0"
getopts = "<= 0.2.21"
wild = "2.0.4"
## optional
failure = { version = "<= 0.1.1", optional = true }
failure_derive = { version = "<= 0.1.1", optional = true }
lazy_static = { version = "1.3", optional = true }
nix = { version = "<= 0.13", optional = true }
platform-info = { version = "<= 0.0.1", optional = true }
time = { version = "<= 0.1.42", optional = true }
## "problem" dependencies
# * backtrace: transitive dependency via 'failure'; pin to <= v0.3.30 to avoid increasing MinSRV to v1.33.0
backtrace = ">= 0.3.3, <= 0.3.30"
# * data-encoding: require v2.1; but v2.2.0 breaks the build for MinSRV v1.31.0
data-encoding = { version = "~2.1", optional = true }
# * libc: initial utmp support added in v0.2.15; but v0.2.68 breaks the build for MinSRV v1.31.0
libc = { version = "0.2.15, <= 0.2.66", optional = true }
# * optional
failure = { version="<= 0.1.1", optional=true }
failure_derive = { version="<= 0.1.1", optional=true }
lazy_static = { version="1.3", optional=true }
nix = { version="<= 0.13", optional=true }
platform-info = { version="<= 0.0.1", optional=true }
time = { version="<= 0.1.42", optional=true }
# * "problem" dependencies (pinned)
data-encoding = { version="~2.1", optional=true } ## data-encoding: require v2.1; but v2.2.0 breaks the build for MinSRV v1.31.0
libc = { version="0.2.15, <= 0.2.66", optional=true } ## libc: initial utmp support added in v0.2.15; but v0.2.68 breaks the build for MinSRV v1.31.0
# * pinned transitive dependencies
pin_backtrace = { version=">= 0.3.3, <= 0.3.30", package="backtrace" } ## backtrace: transitive dependency via 'failure'; pin to <= v0.3.30 to avoid increasing MinSRV to v1.33.0
[target.'cfg(target_os = "redox")'.dependencies]
termion = "1.5"
[features]
default = []
## non-default features
# * non-default features
encoding = ["data-encoding", "failure", "failure_derive"]
entries = ["libc"]
fs = ["libc"]