# 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.95.0"
name = "doppio"
version = "2.0.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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"
keywords = [
    "ledger",
    "accounting",
    "compiler",
    "finance",
]
categories = [
    "finance",
    "parser-implementations",
]
license-file = "LICENSE"
repository = "https://github.com/alevy/doppio"

[lib]
name = "doppio"
path = "src/lib.rs"

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

[[test]]
name = "proto_evolution"
path = "tests/proto_evolution.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"
default-features = false

[dependencies.miniz_oxide]
version = "0.8"

[dependencies.pest]
version = "2.8.6"

[dependencies.pest_derive]
version = "2.8.6"

[dependencies.prost]
version = "0.13"

[dependencies.regex]
version = "1"

[dependencies.rust_decimal]
version = "1.40.0"

[dev-dependencies.criterion]
version = "0.8.2"
features = ["html_reports"]

[dev-dependencies.rust_decimal]
version = "1.40.0"
features = ["macros"]

[build-dependencies.prost-build]
version = "0.13"

[build-dependencies.protoc-bin-vendored]
version = "3"

[target.'cfg(not(target_family = "wasm"))'.dependencies.glob]
version = "0.3.3"
