[package] authors = ["Zack Newman "] categories = ["algorithms", "mathematics", "science", "command-line-utilities"] description = "CLI calculator for rational numbers." documentation = "https://crates.io/crates/calc_rational" edition = "2021" keywords = ["calculator", "mathematics", "numerics"] license = "MIT OR Apache-2.0" name = "calc_rational" readme = "README.md" repository = "https://git.philomathiclife.com/repos/calc_rational/" rust-version = "1.81.0" version = "2.0.0" [lib] name = "calc_lib" path = "src/lib.rs" [[bin]] name = "calc" path = "src/main.rs" [badges] maintenance = { status = "actively-developed" } [package.metadata.docs.rs] all-features = true [dependencies] num-bigint = { version = "0.4.6", default-features = false } num-integer = { version = "0.1.46", default-features = false } num-rational = { version = "0.4.2", default-features = false, features = ["num-bigint"] } num-traits = { version = "0.2.19", default-features = false } rand = { version = "0.8.5", default-features = false, features = ["std", "std_rng"], optional = true } [target.'cfg(target_os = "openbsd")'.dependencies] priv_sep = { version = "2.1.0", default-features = false, features = ["openbsd"], optional = true } [build-dependencies] rustc_version = { version = "0.4.1", default-features = false } ### FEATURES ################################################################# [features] default = ["priv_sep", "std"] # Provide pledge and unveil for OpenBSD. priv_sep = ["dep:priv_sep"] # Provide random functions. rand = ["dep:rand", "std"] # Provide std support. This must be enabled when compiling the binary crate. std = [] [profile.release] lto = true panic = 'abort' strip = true