[package]
edition = "2024"
rust-version = "1.86"
name = "fixed-bigint"
version = "0.4.1"
authors = ["kaidokert <kaidokert@gmail.com>"]
build = false
exclude = ["/.github/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Fixed-size big integer implementation for Rust
"""
homepage = "https://github.com/kaidokert/fixed-bigint-rs"
documentation = "https://docs.rs/fixed-bigint"
readme = "README.md"
keywords = [
"mathematics",
"numerics",
"bignum",
]
categories = [
"algorithms",
"data-structures",
"no-std",
"no-std::no-alloc",
]
license = "Apache-2.0"
repository = "https://github.com/kaidokert/fixed-bigint-rs"
resolver = "2"
[features]
cios = ["dep:modmath-cios"]
default = ["num-traits"]
nightly = [
"c0nst/nightly",
"const-num-traits/nightly",
]
num-traits = [
"dep:num-traits",
"dep:num-integer",
]
use-unsafe = []
[lib]
name = "fixed_bigint"
path = "src/lib.rs"
[[test]]
name = "add_subtract"
path = "tests/add_subtract.rs"
[[test]]
name = "bit_ops"
path = "tests/bit_ops.rs"
[[test]]
name = "bit_shift"
path = "tests/bit_shift.rs"
[[test]]
name = "core_functionality"
path = "tests/core_functionality.rs"
[[test]]
name = "identity"
path = "tests/identity.rs"
[[test]]
name = "integer"
path = "tests/integer.rs"
[[test]]
name = "iter_test"
path = "tests/iter_test.rs"
[[test]]
name = "mul_div"
path = "tests/mul_div.rs"
[[test]]
name = "num_assign"
path = "tests/num_assign.rs"
[[test]]
name = "odd_even_typestate"
path = "tests/odd_even_typestate.rs"
[[test]]
name = "personality_integration"
path = "tests/personality_integration.rs"
[[test]]
name = "personality_negative_guarantees"
path = "tests/personality_negative_guarantees.rs"
[[test]]
name = "primint"
path = "tests/primint.rs"
[[test]]
name = "roots"
path = "tests/roots.rs"
[[test]]
name = "string_convert"
path = "tests/string_convert.rs"
[dependencies.c0nst]
version = "0.2"
[dependencies.const-num-traits]
version = "0.1.2"
features = ["ct"]
default-features = false
[dependencies.modmath-cios]
version = "0.1"
optional = true
default-features = false
[dependencies.num-integer]
version = "0.1.45"
optional = true
default-features = false
[dependencies.num-traits]
version = "0.2.19"
optional = true
default-features = false
[dependencies.subtle]
version = "2.6"
default-features = false
[dependencies.zeroize]
version = "1.8.1"
optional = true
default-features = false
[dev-dependencies.static_assertions]
version = "1.1"
[profile.dev]
opt-level = 0
lto = false
codegen-units = 16
debug = 2
debug-assertions = true
panic = "unwind"
overflow-checks = true
incremental = false
[profile.release]
opt-level = "z"
lto = "fat"
codegen-units = 1
debug = 0
panic = "abort"
overflow-checks = false
incremental = false