mirror of
https://github.com/uutils/uucore.git
synced 2026-06-10 15:48:52 -07:00
c25076d4a2
Co-authored-by: Roy Ivy III <rivy.dev@gmail.com>
61 lines
1.7 KiB
TOML
61 lines
1.7 KiB
TOML
[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.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 }
|
|
|
|
[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"]
|