[package]
name = "feanor-math"
version = "3.5.21"
edition = "2024"
authors = ["Simon Pohmann <simon@pohmann.de>"]
repository = "https://github.com/FeanorTheElf/feanor-math"
homepage = "https://github.com/FeanorTheElf/feanor-math"
keywords = ["math", "mathematics", "primes", "number-theory", "algebra"]
readme = "Readme.md"
description = "A library for number theory, providing implementations for arithmetic in various rings and algorithms working on them."
license = "MIT"
[badges]
maintenance = { status = "actively-developed" }
[lib]
crate-type = ["rlib"]
bench = true
[dependencies]
oorandom = "11.1.3"
libc = "0.2"
stability = "0.2.0"
append-only-vec = "0.1.5"
thread_local = "1.1.8"
atomicbox = "0.4.0"
serde = { version = "1.0.207", features = ["derive"] }
serde_bytes = "0.11.15"
bytemuck = { version = "1.16.3" }
serde_assert = { version = "0.8.0", optional = true }
rayon = { version = "1.8.0", optional = true }
ndarray = { version = "0.15.6", optional = true }
feanor-serde = "0.1.5"
smallvec = "1.15.1"
[dev-dependencies]
debugit = "0.2.0"
feanor-mempool = "2.1.0"
serde_assert = "0.8.0"
serde_json = "1.0.125"
postcard = { version = "1.1.3", features = ["use-std"] }
[features]
default = []
generic_tests = ["dep:serde_assert"]
unstable-enable = []
mpir = []
parallel = ["dep:rayon"]
ndarray = ["dep:ndarray"]
optimized_matmul = []
[profile.profiling]
inherits = "bench"
debug = true
panic = "abort"
[package.metadata.docs.rs]
all-features = true