[package]
edition = "2024"
rust-version = "1.92"
name = "deduxit"
version = "0.5.0"
build = false
exclude = ["tests/export.rs"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A collection of logic suites: decides, checks, proves step by step and exports sequents of linear logic and of classical, intuitionistic and minimal propositional logic, with checked proofs, Kripke countermodels and Rocq certificates."
readme = "README.md"
keywords = [
"linear-logic",
"theorem-prover",
"proof-search",
"sequent-calculus",
"proof-nets",
]
categories = [
"science",
"mathematics",
]
license = "EUPL-1.2"
repository = "https://github.com/deduxit/deduxit"
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
[features]
default = [
"interactive",
"latex",
"parse",
"protocol",
"rocq",
"sat",
"serialize",
"svg",
"typst",
]
interactive = []
latex = []
parallel = ["dep:rayon"]
parse = []
pdf = [
"svg",
"dep:resvg",
"dep:krilla",
"dep:krilla-svg",
]
png = [
"svg",
"dep:resvg",
"dep:png",
]
protocol = [
"serialize",
"parse",
"interactive",
"dep:serde_json",
]
rocq = []
sat = ["dep:batsat"]
serialize = ["dep:serde"]
svg = []
typst = []
[lib]
name = "deduxit"
path = "src/lib.rs"
[[test]]
name = "depth"
path = "tests/depth.rs"
[[test]]
name = "first_order"
path = "tests/first_order.rs"
[[test]]
name = "iltp"
path = "tests/iltp.rs"
[[test]]
name = "limits"
path = "tests/limits.rs"
[[test]]
name = "lock"
path = "tests/lock.rs"
[[test]]
name = "natural"
path = "tests/natural.rs"
[[test]]
name = "parse"
path = "tests/parse.rs"
[[test]]
name = "rules"
path = "tests/rules.rs"
[[test]]
name = "serialize"
path = "tests/serialize.rs"
[[test]]
name = "stability"
path = "tests/stability.rs"
[dependencies.batsat]
version = "0.6.0"
optional = true
default-features = false
[dependencies.foldhash]
version = "0.2.0"
[dependencies.krilla]
version = "0.8.2"
optional = true
[dependencies.krilla-svg]
version = "0.8.1"
optional = true
[dependencies.png]
version = "0.18.1"
optional = true
[dependencies.rayon]
version = "1.12.0"
optional = true
[dependencies.resvg]
version = "0.47"
features = ["text"]
optional = true
default-features = false
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0.149"
features = ["raw_value"]
optional = true
[dependencies.thiserror]
version = "2.0.17"
[dependencies.unicode-ident]
version = "1.0.26"
[dependencies.unicode-normalization]
version = "0.1.25"
default-features = false
[dev-dependencies.roxmltree]
version = "0.21.1"
features = ["std"]
default-features = false
[dev-dependencies.serde_json]
version = "1.0.149"
[dev-dependencies.skrifa]
version = "0.42.1"
features = ["std"]
default-features = false
[lints.clippy]
allow_attributes = "allow"
allow_attributes_without_reason = "allow"
assigning_clones = "allow"
branches_sharing_code = "allow"
case_sensitive_file_extension_comparisons = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
checked_conversions = "allow"
dbg_macro = "warn"
debug_assert_with_mut_call = "allow"
default_trait_access = "allow"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
elidable_lifetime_names = "allow"
empty_structs_with_brackets = "warn"
enum_glob_use = "allow"
explicit_iter_loop = "allow"
format_collect = "allow"
format_push_string = "allow"
get_unwrap = "warn"
if_not_else = "allow"
if_then_some_else_none = "warn"
inconsistent_struct_constructor = "allow"
infinite_loop = "warn"
inline_always = "allow"
items_after_statements = "allow"
lossy_float_literal = "warn"
manual_midpoint = "allow"
manual_string_new = "allow"
many_single_char_names = "allow"
match_bool = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
maybe_infinite_iter = "allow"
mem_forget = "warn"
missing_docs_in_private_items = "warn"
must_use_candidate = "allow"
naive_bytecount = "allow"
needless_pass_by_ref_mut = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
nonminimal_bool = "allow"
or_fun_call = "allow"
rc_buffer = "warn"
redundant_clone = "allow"
redundant_closure_for_method_calls = "allow"
ref_option = "allow"
rest_pat_in_fully_bound_structs = "warn"
self_named_module_files = "warn"
semicolon_if_nothing_returned = "allow"
similar_names = "allow"
single_match_else = "allow"
string_lit_chars_any = "warn"
struct_excessive_bools = "allow"
todo = "warn"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
trivially_copy_pass_by_ref = "allow"
try_err = "warn"
unimplemented = "warn"
unnecessary_semicolon = "allow"
unnecessary_wraps = "allow"
unneeded_field_pattern = "warn"
unnested_or_patterns = "allow"
unused_self = "allow"
verbose_file_reads = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
elided_lifetimes_in_paths = "allow"
missing_debug_implementations = "warn"
missing_docs = "warn"
redundant_lifetimes = "warn"
single_use_lifetimes = "allow"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
unnameable_types = "warn"
unsafe_code = "forbid"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "allow"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]
[lints.rustdoc]
missing_crate_level_docs = "warn"
unescaped_backticks = "warn"