[package]
edition = "2024"
name = "doppio"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "dop"
description = "A typed compiler pipeline for plain-text Ledger accounting — parse, resolve, and elaborate .ledger files with a library API built for programmatic use."
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/alevy/doppio"
[lib]
name = "doppio"
path = "src/lib.rs"
[[bin]]
name = "dop"
path = "src/main.rs"
[[bin]]
name = "timings"
path = "src/bin/timings.rs"
[[example]]
name = "list_accounts"
path = "examples/list_accounts.rs"
[[example]]
name = "load_and_print"
path = "examples/load_and_print.rs"
[[example]]
name = "parse_and_print"
path = "examples/parse_and_print.rs"
[[test]]
name = "dop_format"
path = "tests/dop_format.rs"
[[test]]
name = "register"
path = "tests/register.rs"
[[bench]]
name = "parse"
path = "benches/parse.rs"
harness = false
[[bench]]
name = "pipeline"
path = "benches/pipeline.rs"
harness = false
[[bench]]
name = "queries"
path = "benches/queries.rs"
harness = false
[[bench]]
name = "serial"
path = "benches/serial.rs"
harness = false
[dependencies.chrono]
version = "0.4.42"
features = ["serde"]
default-features = false
[dependencies.clap]
version = "4.5.59"
features = ["derive"]
[dependencies.glob]
version = "0.3.3"
[dependencies.pest]
version = "2.8.6"
[dependencies.pest_derive]
version = "2.8.6"
[dependencies.postcard]
version = "1.1.3"
features = ["use-std"]
[dependencies.regex]
version = "1"
[dependencies.rust_decimal]
version = "1.40.0"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde-pickle]
version = "1.2.0"
[dependencies.serde_json]
version = "1"
[dependencies.xz]
version = "0.1.0"
[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]
[dev-dependencies.rust_decimal]
version = "1.40.0"
features = ["macros"]
[dev-dependencies.tempfile]
version = "3"
[profile.release]
lto = "fat"
codegen-units = 1
debug = 0
panic = "abort"
strip = true