# 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"
name = "bolivar-core"
version = "1.3.1"
authors = ["Ahmed Aloufi <936636+harubi@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PDF content extraction library"
readme = false
keywords = [
    "pdf",
    "text-extraction",
    "pdfminer",
    "pdfplumber",
]
categories = [
    "parser-implementations",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/harubi/bolivar"
resolver = "2"

[features]

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

[[bin]]
name = "bolivar-core"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "alloc_guard_bench"
path = "benches/alloc_guard_bench.rs"

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

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

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

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

[dependencies.aes]
version = "0.8"

[dependencies.bumpalo]
version = "3.14"
features = ["collections"]

[dependencies.byteorder]
version = "1.5"

[dependencies.bytes]
version = "1"

[dependencies.cbc]
version = "0.1"

[dependencies.flate2]
version = "1.1"

[dependencies.geo-index]
version = "0.3.2"

[dependencies.html-escape]
version = "0.2"

[dependencies.indexmap]
version = "2.12"

[dependencies.itertools]
version = "0.14"

[dependencies.lasso]
version = "0.7"

[dependencies.lazy_static]
version = "1.5"

[dependencies.md5]
version = "0.8.0"

[dependencies.memmap2]
version = "0.9"

[dependencies.num-traits]
version = "0.2"

[dependencies.once_cell]
version = "1.21"

[dependencies.ordered-float]
version = "5.1.0"

[dependencies.rayon]
version = "1.11"

[dependencies.regex]
version = "1.12"

[dependencies.rstar]
version = "0.12"

[dependencies.rustc-hash]
version = "2.1"

[dependencies.rustversion]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

[dependencies.unicode-bidi]
version = "0.3"

[dependencies.unicode-normalization]
version = "0.1"

[dependencies.weezl]
version = "0.1"

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

[dev-dependencies.hex]
version = "0.4"

[dev-dependencies.insta]
version = "1.46"

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

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.stats_alloc]
version = "0.1.10"

[dev-dependencies.stats_alloc_helper]
version = "0.3.1"

[target.'cfg(all(target_os = "linux", any(target_arch = "x86_64", target_arch = "x86")))'.dev-dependencies.criterion-perf-events]
version = "0.4"

[target.'cfg(all(target_os = "linux", any(target_arch = "x86_64", target_arch = "x86")))'.dev-dependencies.perfcnt]
version = "0.8"
