bibtex-parser 0.1.0

Fast BibTeX parser with a rich Rust-first library API
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 = "2021"
rust-version = "1.75"
name = "bibtex-parser"
version = "0.1.0"
authors = ["Ayan Das <bvits@riseup.net>"]
build = false
include = [
    "Cargo.toml",
    "README.md",
    "LICENSE",
    "CHANGELOG.md",
    "src/**",
    "examples/**",
    "benches/**",
    "tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast BibTeX parser with a rich Rust-first library API"
homepage = "https://github.com/b-vitamins/bibtex-parser"
documentation = "https://docs.rs/bibtex-parser"
readme = "README.md"
keywords = [
    "bibtex",
    "parser",
    "latex",
    "bibliography",
    "citation",
]
categories = [
    "parser-implementations",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/b-vitamins/bibtex-parser"

[package.metadata.docs.rs]
all-features = true

[features]
compare_parsers = []
default = []
latex_to_unicode = ["dep:phf"]
parallel = ["dep:rayon"]

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "latex_unicode"
path = "examples/latex_unicode.rs"

[[example]]
name = "query"
path = "examples/query.rs"

[[example]]
name = "tolerant"
path = "examples/tolerant.rs"

[[example]]
name = "validation"
path = "examples/validation.rs"

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

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

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

[dependencies.ahash]
version = "0.8"

[dependencies.memchr]
version = "2.7"

[dependencies.phf]
version = "0.11"
features = ["macros"]
optional = true

[dependencies.rayon]
version = "1.8"
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.winnow]
version = "0.5"

[dev-dependencies.biblatex]
version = "0.10"

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

[dev-dependencies.insta]
version = "1.34"
features = ["yaml"]

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.nom-bibtex]
version = "0.5"

[dev-dependencies.pretty_assertions]
version = "1.4"

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

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

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

[dev-dependencies.serde_bibtex]
version = "0.6"
features = ["entry"]

[dev-dependencies.tempfile]
version = "3"

[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
inherits = "release"
strip = false

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1