# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "feanor-math"
version = "3.1.4"
authors = ["Simon Pohmann <simon@pohmann.de>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library for number theory, providing implementations for arithmetic in various rings and algorithms working on them."
homepage = "https://github.com/FeanorTheElf/feanor-math"
readme = "Readme.md"
keywords = [
    "math",
    "mathematics",
    "primes",
    "number-theory",
    "algebra",
]
license = "MIT"
repository = "https://github.com/FeanorTheElf/feanor-math"

[package.metadata.docs.rs]
all-features = true

[profile.profiling]
debug = 2
panic = "abort"
inherits = "bench"

[lib]
name = "feanor_math"
crate-type = ["rlib"]
path = "src/lib.rs"
bench = true

[dependencies.append-only-vec]
version = "0.1.5"

[dependencies.atomicbox]
version = "0.4.0"

[dependencies.bytemuck]
version = "1.16.3"

[dependencies.libc]
version = "0.2"

[dependencies.ndarray]
version = "0.15.6"
optional = true

[dependencies.oorandom]
version = "11.1.3"

[dependencies.rayon]
version = "1.8.0"
optional = true

[dependencies.serde]
version = "1.0.207"
features = ["derive"]

[dependencies.serde_assert]
version = "0.8.0"
optional = true

[dependencies.serde_bytes]
version = "0.11.15"

[dependencies.stability]
version = "0.2.0"

[dependencies.thread_local]
version = "1.1.8"

[dev-dependencies.feanor-mempool]
version = "2.1.0"

[dev-dependencies.serde_assert]
version = "0.8.0"

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

[features]
default = []
generic_tests = ["dep:serde_assert"]
mpir = []
ndarray = ["dep:ndarray"]
parallel = ["dep:rayon"]
unrolled_strassen = []
unstable-enable = []

[badges.maintenance]
status = "actively-developed"