[package]
edition = "2024"
rust-version = "1.88"
name = "polyfactor"
version = "0.1.6"
authors = ["Stephen Diehl <stephen.m.diehl@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Univariate factoring over prime fields, the rationals and number fields."
homepage = "https://github.com/sdiehl/polycore"
documentation = "https://docs.rs/polyfactor"
readme = "README.md"
keywords = [
"polynomial",
"factorization",
"berlekamp",
"number-field",
"algebra",
]
categories = [
"algorithms",
"mathematics",
]
license = "MIT"
repository = "https://github.com/sdiehl/polycore"
resolver = "2"
[lib]
name = "polyfactor"
path = "src/lib.rs"
[[example]]
name = "cyclotomic"
path = "examples/cyclotomic.rs"
[[example]]
name = "x4_plus_1"
path = "examples/x4_plus_1.rs"
[[test]]
name = "large_prime"
path = "tests/large_prime.rs"
[[test]]
name = "snapshots"
path = "tests/snapshots.rs"
[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.polycore]
version = "0.1.6"
[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