[package] authors = ["The Rust Project Developers"] description = "A collection of numeric types and traits for Rust, including bigint,\ncomplex, rational, range iterators, generic integers, and more!\n" documentation = "https://docs.rs/num" homepage = "https://github.com/rust-num/num" keywords = ["mathematics", "numerics", "bignum"] categories = [ "algorithms", "data-structures", "science", "no-std" ] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-num/num" name = "num" version = "0.4.3" readme = "README.md" exclude = ["/ci/*", "/.github/*"] edition = "2021" rust-version = "1.60" [package.metadata.docs.rs] features = ["std", "serde", "rand"] [dependencies] [dependencies.num-bigint] optional = true version = "0.4.5" default-features = false [dependencies.num-complex] version = "0.4.6" default-features = false [dependencies.num-integer] version = "0.1.46" default-features = false features = ["i128"] [dependencies.num-iter] version = "0.1.45" default-features = false features = ["i128"] [dependencies.num-rational] version = "0.4.2" default-features = false [dependencies.num-traits] version = "0.2.19" default-features = false features = ["i128"] [dev-dependencies] [features] default = ["std"] num-bigint = ["dep:num-bigint"] std = [ "dep:num-bigint", "num-bigint/std", "num-complex/std", "num-integer/std", "num-iter/std", "num-rational/std", "num-rational/num-bigint-std", "num-traits/std", ] alloc = ["dep:num-bigint", "num-rational/num-bigint"] libm = [ "num-complex/libm", "num-traits/libm", ] rand = [ "num-bigint/rand", "num-complex/rand", ] serde = [ "num-bigint/serde", "num-complex/serde", "num-rational/serde", ]