mirror of
https://github.com/uutils/uucore.git
synced 2026-06-10 15:48:52 -07:00
55 lines
1.6 KiB
TOML
55 lines
1.6 KiB
TOML
[package]
|
|
name = "uucore"
|
|
version = "0.0.2"
|
|
authors = ["uutils developers"]
|
|
description = "Common cross-platform code used by various uutils projects"
|
|
|
|
homepage = "https://github.com/uutils/uucore"
|
|
repository = "https://github.com/uutils/uucore"
|
|
readme = "README.md"
|
|
keywords = ["cross-platform", "uutils", "coreutils"]
|
|
categories = ["os"]
|
|
license = "MIT"
|
|
|
|
[badges]
|
|
appveyor = { repository = "uutils/uucore" }
|
|
travis-ci = { repository = "uutils/uucore" }
|
|
|
|
[dependencies]
|
|
dunce = "1.0.0"
|
|
getopts = "<= 0.2.21"
|
|
wild = "2.0.1"
|
|
## 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 2.1, but 2.2.0 breaks the build for MinSRV 1.31.0
|
|
data-encoding = { version = "~2.1", optional = true }
|
|
# * libc: initial utmp support added in 0.2.15, but 0.2.68 break the build for MinSRV 1.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"]
|