1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-05 15:37:47 +00:00

maint/build ~ refactor (reorganize) and improve comments within 'Cargo.toml'

This commit is contained in:
Roy Ivy III 2020-04-07 22:52:38 -05:00
parent ceee0ec09e
commit 16157f57eb

View file

@ -12,21 +12,22 @@ categories = ["os"]
license = "MIT" license = "MIT"
[badges] [badges]
travis-ci = { repository = "uutils/uucore" }
appveyor = { repository = "uutils/uucore" } appveyor = { repository = "uutils/uucore" }
travis-ci = { repository = "uutils/uucore" }
[dependencies] [dependencies]
dunce = "1.0.0" dunce = "1.0.0"
getopts = "<= 0.2.21" getopts = "<= 0.2.21"
wild = "2.0.1"
## optional
failure = { version = "<= 0.1.1", optional = true } failure = { version = "<= 0.1.1", optional = true }
failure_derive = { version = "<= 0.1.1", optional = true } failure_derive = { version = "<= 0.1.1", optional = true }
time = { version = "<= 0.1.42", optional = true }
wild = "2.0.1"
nix = { version = "<= 0.13", optional = true }
lazy_static = { version = "1.3", optional = true } lazy_static = { version = "1.3", optional = true }
nix = { version = "<= 0.13", optional = true }
platform-info = { version = "<= 0.0.1", optional = true } platform-info = { version = "<= 0.0.1", optional = true }
## problem dependencies time = { version = "<= 0.1.42", optional = true }
# * transitive dependency via 'failure'; pin to <= v0.3.30 to avoid increasing MinSRV to v1.33.0 ## "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" backtrace = ">= 0.3.3, <= 0.3.30"
# * data-encoding: require 2.1, but 2.2.0 breaks the build for MinSRV 1.31.0 # * data-encoding: require 2.1, but 2.2.0 breaks the build for MinSRV 1.31.0
data-encoding = { version = "~2.1", optional = true } data-encoding = { version = "~2.1", optional = true }
@ -38,15 +39,16 @@ libc = { version = "0.2.15, <= 0.2.66", optional = true }
termion = "1.5" termion = "1.5"
[features] [features]
fs = ["libc"] default = []
utf8 = [] ## non-default features
encoding = ["data-encoding", "failure", "failure_derive"] encoding = ["data-encoding", "failure", "failure_derive"]
parse_time = [] entries = ["libc"]
fs = ["libc"]
mode = ["libc"] mode = ["libc"]
utmpx = ["time", "libc"] parse_time = []
process = ["libc"] process = ["libc"]
signals = [] signals = []
entries = ["libc"] utf8 = []
zero-copy = ["nix", "libc", "lazy_static", "platform-info"] utmpx = ["time", "libc"]
wide = [] wide = []
default = [] zero-copy = ["nix", "libc", "lazy_static", "platform-info"]