[package]
edition = "2021"
name = "adic"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Arithmetic and rootfinding for p-adic numbers"
readme = "readme.md"
keywords = [
"mathematics",
"modular",
"number",
"padic",
]
categories = [
"mathematics",
"science",
]
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/pmodular/adic"
[lib]
name = "adic"
path = "src/lib.rs"
[[example]]
name = "2_adic"
path = "examples/2_adic.rs"
[[example]]
name = "collatz"
path = "examples/collatz.rs"
[[example]]
name = "hensel_lift"
path = "examples/hensel_lift.rs"
[[example]]
name = "multi_prime"
path = "examples/multi_prime.rs"
[[example]]
name = "root_combos"
path = "examples/root_combos.rs"
[[example]]
name = "rootfind"
path = "examples/rootfind.rs"
[[example]]
name = "witt_vector"
path = "examples/witt_vector.rs"
[dependencies.clap]
version = "4.5.20"
features = ["derive"]
[dependencies.itertools]
version = "0.14.0"
[dependencies.num]
version = "0.4.3"
[dependencies.num-prime]
version = "0.4.4"
[dependencies.serde]
version = "1.0.215"
features = ["derive"]
optional = true
[dev-dependencies.assertables]
version = "9.8.2"
[lints.clippy]
assign_op_pattern = "allow"
bool_to_int_with_if = "allow"
let-and-return = "allow"
many_single_char_names = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_inception = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
redundant-else = "allow"
similar_names = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "deny"
missing_docs = "deny"
non_upper_case_globals = "allow"
unsafe_code = "forbid"
unused_parens = "allow"