mirror of
https://github.com/uutils/coreutils
synced 2024-12-17 16:43:16 +00:00
c037382df7
quickcheck <1 uses rand 0.6.x which results in E0599 errors. Upgrading resolves that error and lets us remove the older rand version from our deps. refs: https://stackoverflow.com/questions/56901973/errore0599-no-method-named-gen-found-for-type-mut-g-in-the-current-scope/56902740#56902740
39 lines
1.2 KiB
TOML
39 lines
1.2 KiB
TOML
[package]
|
|
name = "uu_factor"
|
|
version = "0.0.12"
|
|
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.13" # used in src/numerics.rs, which is included by build.rs
|
|
|
|
[dependencies]
|
|
clap = { version = "3.0", features = ["wrap_help", "cargo"] }
|
|
coz = { version = "0.1.3", optional = true }
|
|
num-traits = "0.2.13" # Needs at least version 0.2.13 for "OverflowingAdd"
|
|
rand = { version = "0.8", features = ["small_rng"] }
|
|
smallvec = "1.7" # TODO(nicoo): Use `union` feature, requires Rust 1.49 or later.
|
|
uucore = { version = ">=0.0.8", package = "uucore", path = "../../uucore" }
|
|
uucore_procs = { version=">=0.0.8", package = "uucore_procs", path = "../../uucore_procs" }
|
|
|
|
[dev-dependencies]
|
|
paste = "0.1.18"
|
|
quickcheck = "1.0.3"
|
|
|
|
|
|
[[bin]]
|
|
name = "factor"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
path = "src/cli.rs"
|
|
|
|
[package.metadata.cargo-udeps.ignore]
|
|
normal = ["uucore_procs"]
|