clock-curve-math 1.1.3

High-performance, constant-time, cryptography-grade number theory library for ClockCurve ecosystem
Documentation
[[bench]]
harness = false
name = "arithmetic"
path = "benches/arithmetic.rs"

[[bench]]
harness = false
name = "backend_comparison"
path = "benches/backend_comparison.rs"

[[bench]]
harness = false
name = "comparative"
path = "benches/comparative.rs"

[[bench]]
harness = false
name = "constant_time"
path = "benches/constant_time.rs"

[[bench]]
harness = false
name = "montgomery"
path = "benches/montgomery.rs"

[[bench]]
harness = false
name = "performance_optimizations"
path = "benches/performance_optimizations.rs"

[[bench]]
harness = false
name = "regression_detection"
path = "benches/regression_detection.rs"

[dependencies.clock-bigint]
default-features = false
features = ["alloc"]
optional = true
version = "1.0.1"

[dependencies.clock-rand]
optional = true
version = "1.0.3"

[dependencies.num-bigint]
optional = true
version = "0.4.6"

[dependencies.rug]
default-features = false
features = ["integer", "rand"]
optional = true
version = "1.28.0"

[dependencies.serde]
default-features = false
features = ["derive"]
optional = true
version = "1.0.228"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.8.1"

[dev-dependencies.hex]
version = "0.4.3"

[dev-dependencies.proptest]
version = "1.9.0"

[dev-dependencies.serde]
features = ["derive"]
version = "1.0.228"

[dev-dependencies.serde_json]
version = "1.0.149"

[features]
alloc = []
bigint-backend = ["dep:clock-bigint", "alloc"]
custom-limbs = []
default = ["bigint-backend", "alloc"]
num-bigint = ["dep:num-bigint"]
rand = ["dep:clock-rand"]
rug = ["dep:rug"]
serde = ["dep:serde"]
simd = []
std = []

[lib]
name = "clock_curve_math"
path = "src/lib.rs"

[lints.clippy]
all = "warn"
cargo = "warn"
complexity = "allow"
correctness = "warn"
nursery = "allow"
pedantic = "allow"
perf = "warn"
style = "allow"
suspicious = "warn"

[lints.rust]
missing_docs = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused = "warn"

[package]
authors = ["Olyntar"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["cryptography", "algorithms", "no-std"]
description = "High-performance, constant-time, cryptography-grade number theory library for ClockCurve ecosystem"
documentation = "https://docs.rs/clock-curve-math"
edition = "2024"
keywords = ["cryptography", "number-theory", "montgomery", "bigint", "no-std"]
license = "MIT OR Apache-2.0"
name = "clock-curve-math"
readme = "README.md"
repository = "https://github.com/olyntar/clock-curve-math"
version = "1.1.3"

[profile.dev]
debug = 2
opt-level = 0

[profile.release]
codegen-units = 1
lto = true
opt-level = 3
panic = "abort"

[[test]]
name = "api_extensions_tests"
path = "tests/api_extensions_tests.rs"

[[test]]
name = "backend_switching_tests"
path = "tests/backend_switching_tests.rs"

[[test]]
name = "batch_ops_tests"
path = "tests/batch_ops_tests.rs"

[[test]]
name = "bigint_tests"
path = "tests/bigint_tests.rs"

[[test]]
name = "compute_constants"
path = "tests/compute_constants.rs"

[[test]]
name = "constant_time_tests"
path = "tests/constant_time_tests.rs"

[[test]]
name = "cross_platform_tests"
path = "tests/cross_platform_tests.rs"

[[test]]
name = "ct_tests"
path = "tests/ct_tests.rs"

[[test]]
name = "ecosystem_integration"
path = "tests/ecosystem_integration.rs"

[[test]]
name = "edge_case_tests"
path = "tests/edge_case_tests.rs"

[[test]]
name = "extended_point_tests"
path = "tests/extended_point_tests.rs"

[[test]]
name = "extensible_tests"
path = "tests/extensible_tests.rs"

[[test]]
name = "feature_flag_tests"
path = "tests/feature_flag_tests.rs"

[[test]]
name = "field_tests"
path = "tests/field_tests.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "montgomery_tests"
path = "tests/montgomery_tests.rs"

[[test]]
name = "multi_exp_tests"
path = "tests/multi_exp_tests.rs"

[[test]]
name = "property_tests"
path = "tests/property_tests.rs"

[[test]]
name = "readme_examples_test"
path = "tests/readme_examples_test.rs"

[[test]]
name = "scalar_tests"
path = "tests/scalar_tests.rs"

[[test]]
name = "scalar_unchecked_tests"
path = "tests/scalar_unchecked_tests.rs"

[[test]]
name = "simd_tests"
path = "tests/simd_tests.rs"

[[test]]
name = "validation_tests"
path = "tests/validation_tests.rs"