ares/rust/ibig/Cargo.toml
2024-10-04 17:17:06 -05:00

78 lines
1.5 KiB
TOML

[package]
name = "ibig"
version = "0.3.6"
authors = ["Tomek Czajka <tczajka@gmail.com>"]
edition = "2018"
rust-version = "1.49"
description = "A big integer library with good performance"
keywords = ["bigint", "bignum", "mathematics", "modular", "modulo"]
categories = ["mathematics", "no-std"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tczajka/ibig-rs"
homepage = "https://github.com/tczajka/ibig-rs"
readme = "README.md"
exclude = ["generate_coverage.sh"]
[lints.clippy]
missing_safety_doc = "allow"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["std", "rand", "num-traits"]
# Interface with the std library.
std = []
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.static_assertions]
version = "1.1"
[dependencies.num-traits]
optional = true
version = "0.2.14"
default-features = false
[dependencies.rand]
optional = true
version = "0.8.3"
default-features = false
[dependencies.serde]
optional = true
version = "1.0.130"
default-features = false
features = ["derive"]
[dev-dependencies.criterion]
version = "0.3.4"
features = ["html_reports"]
[dev-dependencies.rand]
version = "0.8.3"
[dev-dependencies.serde_test]
version = "1.0.130"
[lib]
bench = false
[[test]]
name = "random"
required-features = ["rand"]
[[test]]
name = "serde"
required-features = ["serde"]
[[bench]]
name = "benchmarks"
required-features = ["rand"]
harness = false
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(force_bits, values("16","32","64"))'] }