mirror of
https://github.com/uutils/coreutils
synced 2024-12-18 00:53:25 +00:00
6539b8c6b9
- refactor internal version specifications to be ">=M.m.p" (where M.m.p is *already published*) ## [why] Loosening internal version dependencies decreases the coupling between packages such that packages can be published in a looser order. It allows the packages to be version updated and published in tandem (ie, by using `cargo workspace ...`). Once published, the internal versions can then be updated (again, to an *already published* package version), as needed.
40 lines
1,010 B
TOML
40 lines
1,010 B
TOML
[package]
|
|
name = "uu_factor"
|
|
version = "0.0.1"
|
|
authors = ["uutils developers"]
|
|
license = "MIT"
|
|
description = "factor ~ (uutils) display the prime factors of each NUMBER"
|
|
|
|
homepage = "https://github.com/uutils/coreutils"
|
|
repository = "https://github.com/uutils/coreutils/tree/master/src/uu/"
|
|
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
|
|
categories = ["command-line-utilities"]
|
|
edition = "2018"
|
|
|
|
[build-dependencies]
|
|
num-traits = "0.2" # used in src/numerics.rs, which is included by build.rs
|
|
|
|
|
|
[dependencies]
|
|
num-traits = "0.2"
|
|
rand = { version="0.7", features=["small_rng"] }
|
|
smallvec = { version="0.6.13, < 1.0" }
|
|
uucore = { version=">=0.0.4", package="uucore", path="../../uucore" }
|
|
uucore_procs = { version=">=0.0.4", package="uucore_procs", path="../../uucore_procs" }
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.3"
|
|
paste = "0.1.18"
|
|
quickcheck = "0.9.2"
|
|
rand_chacha = "0.2.2"
|
|
|
|
[[bench]]
|
|
name = "gcd"
|
|
harness = false
|
|
|
|
[[bin]]
|
|
name = "factor"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
path = "src/cli.rs"
|