beancount-parser 2.3.0

A beancount file parser library for rust
# 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 = "2021"
rust-version = "1.68"
name = "beancount-parser"
version = "2.3.0"
authors = ["Jonathan Cornaz"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A beancount file parser library for rust"
readme = "README.md"
keywords = [
    "parsing",
    "beancount",
    "accounting",
]
categories = ["parser-implementations"]
license = "Unlicense"
repository = "https://github.com/jcornaz/beancount-parser"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[badges.maintenance]
status = "passively-maintained"

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

[[example]]
name = "balance"
path = "examples/balance.rs"
required-features = ["miette"]

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

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

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

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

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

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

[dependencies.miette]
version = "5"
optional = true

[dependencies.nom]
version = "8"
features = ["std"]
default-features = false

[dependencies.nom_locate]
version = "5"
default-features = false

[dependencies.thiserror]
version = "2"

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

[dev-dependencies.miette]
version = "5"
features = ["fancy"]

[dev-dependencies.rstest]
version = "0.26"
default-features = false

[dev-dependencies.rust_decimal]
version = "1"
default-features = false

[lints.clippy]
pedantic = "warn"

[lints.rust]
missing_docs = "warn"
private_bounds = "deny"
private_interfaces = "deny"
unsafe_code = "deny"