[package]
edition = "2024"
rust-version = "1.88"
name = "polycore"
version = "0.1.1"
authors = ["Stephen Diehl <stephen.m.diehl@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fields, prime fields, sparse and dense polynomials, and sparse echelon forms."
homepage = "https://github.com/sdiehl/poly-core"
documentation = "https://docs.rs/polycore"
readme = "README.md"
keywords = [
"polynomial",
"finite-field",
"algebra",
"groebner",
"crt",
]
categories = [
"algorithms",
"mathematics",
]
license = "MIT"
repository = "https://github.com/sdiehl/poly-core"
resolver = "2"
[features]
parallel = ["dep:rayon"]
[lib]
name = "polycore"
path = "src/lib.rs"
[[example]]
name = "demo"
path = "examples/demo.rs"
[[test]]
name = "crt"
path = "tests/crt.rs"
[[test]]
name = "snapshots"
path = "tests/snapshots.rs"
[dependencies.machine-prime]
version = "1.5.7"
[dependencies.num-bigint]
version = "0.4"
[dependencies.num-integer]
version = "0.1"
[dependencies.num-rational]
version = "0.4"
[dependencies.num-traits]
version = "0.2"
[dependencies.rand_xoshiro]
version = "0.8.1"
[dependencies.rayon]
version = "1"
optional = true
[dev-dependencies.insta]
version = "1.41"
features = ["glob"]
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1