[package]
name = "uu_factor"
version = "0.0.30"
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/main/src/uu/"
keywords = ["coreutils", "uutils", "cross-platform", "cli", "utility"]
categories = ["command-line-utilities"]
edition = "2024"

readme.workspace = true

[build-dependencies]
num-traits = { workspace = true } # used in src/numerics.rs, which is included by build.rs

[dependencies]
clap = { workspace = true }
coz = { workspace = true, optional = true }
num-traits = { workspace = true }
rand = { workspace = true }
smallvec = { workspace = true }
uucore = { workspace = true }
num-bigint = { workspace = true }
num-prime = { workspace = true }

[[bin]]
name = "factor"
path = "src/main.rs"

[lib]
path = "src/factor.rs"
