[[bench]]
harness = false
name = "arithmetic"
path = "benches/arithmetic.rs"
[[bench]]
name = "division"
path = "benches/division.rs"
[[bench]]
name = "gas"
path = "benches/gas.rs"
[[bench]]
harness = false
name = "modexp"
path = "benches/modexp.rs"
[[bench]]
harness = false
name = "montgomery"
path = "benches/montgomery.rs"
[[bench]]
name = "timeboxed"
path = "benches/timeboxed.rs"
[dependencies.serde]
default-features = false
features = ["derive"]
optional = true
version = "1.0"
[dev-dependencies.cargo-fuzz]
version = "0.13.1"
[dev-dependencies.clock-rand]
version = "1.0.1"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.8.1"
[dev-dependencies.hex]
version = "0.4"
[dev-dependencies.proptest]
version = "1.5"
[features]
alloc = []
clockinchain = []
default = ["alloc"]
fuzz = []
serde = ["dep:serde"]
std = ["alloc"]
zk = []
[lib]
name = "clock_bigint"
path = "src/lib.rs"
[lints.clippy]
all = "warn"
cargo = "warn"
complexity = "warn"
correctness = "warn"
nursery = "warn"
pedantic = "warn"
perf = "warn"
style = "warn"
suspicious = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused = "warn"
[package]
authors = ["ClockinChain Contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["cryptography", "algorithms", "no-std"]
description = "Deterministic constant-time big integers for blockchain consensus engines"
documentation = "https://docs.rs/clock-bigint"
edition = "2024"
keywords = ["bigint", "blockchain", "cryptography", "consensus", "montgomery"]
license = "MIT OR Apache-2.0"
name = "clock-bigint"
readme = "README.md"
repository = "https://github.com/clockinchain/clock-bigint"
version = "1.0.1"
[[test]]
name = "arithmetic"
path = "tests/arithmetic.rs"
[[test]]
name = "compliance"
path = "tests/compliance.rs"
[[test]]
name = "constant_time"
path = "tests/constant_time.rs"
[[test]]
name = "division"
path = "tests/division.rs"
[[test]]
name = "encoding"
path = "tests/encoding.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "timeboxed"
path = "tests/timeboxed.rs"