[package]
edition = "2024"
rust-version = "1.85"
name = "rustledger-query"
version = "0.5.2"
authors = ["Rustledger Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Beancount query engine (BQL) with SQL-like syntax for ledger queries"
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_query"
path = "src/lib.rs"
bench = false
[[test]]
name = "bql_integration_test"
path = "tests/bql_integration_test.rs"
[[bench]]
name = "query_bench"
path = "benches/query_bench.rs"
harness = false
[dependencies.ariadne]
version = "0.6"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.chumsky]
version = "1.0.0-alpha.7"
[dependencies.regex]
version = "1"
[dependencies.rust_decimal]
version = "1.40"
features = ["serde"]
[dependencies.rustledger-core]
version = "0.5.2"
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.insta]
version = "1"
features = ["yaml"]
[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"