prime-factor 0.6.3

A prime number factorizer written in Rust
Documentation
# 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 = "2024"
name = "prime-factor"
version = "0.6.3"
authors = ["Stefan Lindblad <stefan.lindblad@linux.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A prime number factorizer written in Rust"
readme = "README.md"
license = "LGPL-2.1-or-later"
repository = "https://github.com/Fairglow/prime-factor.git"

[features]
bench-reikna = []
cli = [
    "dep:clap",
    "dep:log",
    "dep:env_logger",
    "dep:rayon",
]
default = ["cli"]

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

[[bin]]
name = "prime-factor"
path = "src/main.rs"
required-features = ["cli"]

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

[[bench]]
name = "bench-reikna"
path = "benches/bench_reikna.rs"
harness = false
required-features = ["bench-reikna"]

[[bench]]
name = "prime-factor-benchmark"
path = "benches/benchmark.rs"
harness = false

[dependencies.clap]
version = "4.5"
optional = true

[dependencies.env_logger]
version = "0.11"
optional = true

[dependencies.log]
version = "0.4"
optional = true

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

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.rand]
version = "0.10"

[dev-dependencies.rayon]
version = "1.11"

[dev-dependencies.reikna]
version = "0.12"

[profile.release]
lto = true
codegen-units = 1