forked from uutils/uucore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
60 lines (53 loc) · 1.74 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "uucore"
version = "0.0.4"
authors = ["uutils developers"]
license = "MIT"
description = "uutils ~ 'core' uutils code library (cross-platform)"
homepage = "https://github.com/uutils/uucore"
repository = "https://github.com/uutils/uucore"
readme = "README.md"
keywords = ["cross-platform", "uutils", "core", "library"]
categories = ["os"]
edition = "2018"
[badges]
appveyor = { repository = "uutils/uucore" }
travis-ci = { repository = "uutils/uucore" }
[lib]
path="src/lib/lib.rs"
[workspace]
members=["src/uucore_procs"]
[dependencies]
dunce = "1.0.0"
getopts = "<= 0.2.21"
wild = "2.0.0, < 2.0.2"
## 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 }
[target.'cfg(target_os = "redox")'.dependencies]
termion = "1.5"
[features]
default = []
## non-default features
encoding = ["data-encoding", "failure", "failure_derive"]
entries = ["libc"]
fs = ["libc"]
mode = ["libc"]
parse_time = []
process = ["libc"]
signals = []
utf8 = []
utmpx = ["time", "libc"]
wide = []
zero-copy = ["nix", "libc", "lazy_static", "platform-info"]