bibtex-parser 0.3.1

BibTeX parser for Rust
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.3.1"
authors = ["Ayan Das <bvits@riseup.net>"]
build = false
include = [
    "/Cargo.toml",
    "/RUST.md",
    "/LICENSE",
    "/CHANGELOG.md",
    "/RELEASE.md",
    "/src/**",
    "/examples/**",
    "/benches/**",
    "/tests/**",
    "/python/**",
    "/pyproject.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "BibTeX parser for Rust"
homepage = "https://github.com/b-vitamins/citerra"
documentation = "https://docs.rs/bibtex-parser"
readme = "RUST.md"
keywords = [
    "bibtex",
    "parser",
    "latex",
    "bibliography",
    "citation",
]
categories = [
    "parser-implementations",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/b-vitamins/citerra"

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

[features]
compare_parsers = []
default = []
latex_to_unicode = ["dep:phf"]
parallel = ["dep:rayon"]
python = ["dep:pyo3"]
python-extension = [
    "python",
    "dep:mimalloc",
    "pyo3/abi3-py38",
    "pyo3/extension-module",
]

[lib]
name = "bibtex_parser"
crate-type = [
    "rlib",
    "cdylib",
]
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 = "corpus_parsing"
path = "tests/corpus_parsing.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.ahash]
version = "0.8"

[dependencies.itoa]
version = "1.0"

[dependencies.memchr]
version = "2.7"

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

[dependencies.pyo3]
version = "0.27.2"
optional = true

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

[dependencies.thiserror]
version = "1.0"

[dependencies.winnow]
version = "0.5"

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

[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.6"

[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.7"
features = ["entry"]

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

[target.'cfg(not(all(target_os = "linux", target_arch = "aarch64")))'.dependencies.mimalloc]
version = "0.1"
optional = true
default-features = false

[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