[package]
edition = "2021"
rust-version = "1.81"
name = "transfinite"
version = "0.3.0"
authors = ["niarenaw"]
build = false
exclude = [
"**/CLAUDE.md",
".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Transfinite ordinal arithmetic library supporting ordinals up to epsilon-zero (ε₀) using Cantor Normal Form"
homepage = "https://github.com/niarenaw/rust-transfinite"
documentation = "https://docs.rs/transfinite"
readme = "README.md"
keywords = [
"ordinal",
"transfinite",
"mathematics",
"cantor",
"ordinal-arithmetic",
]
categories = [
"mathematics",
"algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/niarenaw/rust-transfinite"
[lib]
name = "transfinite"
path = "src/lib.rs"
[[example]]
name = "epsilon_zero"
path = "examples/epsilon_zero.rs"
[[example]]
name = "exponentiation"
path = "examples/exponentiation.rs"
[[example]]
name = "goodstein"
path = "examples/goodstein.rs"
[[example]]
name = "hydra"
path = "examples/hydra.rs"
[[test]]
name = "comprehensive_tests"
path = "tests/comprehensive_tests.rs"
[[test]]
name = "error_tests"
path = "tests/error_tests.rs"
[[test]]
name = "property_tests"
path = "tests/property_tests.rs"
[[test]]
name = "real_example_tests"
path = "tests/real_example_tests.rs"
[[bench]]
name = "ordinal_bench"
path = "benches/ordinal_bench.rs"
harness = false
[dependencies.num-traits]
version = "0.2.19"
[dependencies.thiserror]
version = "2.0.11"
[dev-dependencies.cargo-husky]
version = "1"
features = [
"precommit-hook",
"run-cargo-fmt",
"run-cargo-clippy",
]
default-features = false
[dev-dependencies.criterion]
version = "0.4"
[dev-dependencies.proptest]
version = "1.4"
[lints.clippy]
large_enum_variant = "warn"
needless_collect = "warn"
redundant_clone = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
future-incompatible = "warn"
nonstandard-style = "deny"