rustledger-validate 0.5.2

Beancount validation with 27 error codes for ledger correctness
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"
rust-version = "1.85"
name = "rustledger-validate"
version = "0.5.2"
authors = ["Rustledger Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Beancount validation with 27 error codes for ledger correctness"
homepage = "https://rustledger.github.io"
readme = "README.md"
keywords = [
    "beancount",
    "accounting",
    "finance",
    "double-entry",
    "ledger",
]
categories = [
    "command-line-utilities",
    "finance",
    "parser-implementations",
]
license = "GPL-3.0-only"
repository = "https://github.com/rustledger/rustledger"

[lib]
name = "rustledger_validate"
path = "src/lib.rs"
bench = false

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

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

[[bench]]
name = "validate_bench"
path = "benches/validate_bench.rs"
harness = false

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.rayon]
version = "1.10"

[dependencies.rust_decimal]
version = "1.40"
features = ["serde"]

[dependencies.rustledger-booking]
version = "0.5.2"

[dependencies.rustledger-core]
version = "0.5.2"

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rust_decimal_macros]
version = "1.40"

[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
format_push_string = "allow"
manual_let_else = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
ptr_arg = "allow"
ref_option = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
type_complexity = "allow"
unnecessary_wraps = "allow"
unused_self = "allow"

[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_docs = "warn"
unsafe_code = "deny"