[[bin]]
name = "omniparse"
path = "src/main.rs"
[dependencies.calamine]
version = "0.24"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.clap]
features = ["derive"]
version = "4.5"
[dependencies.cssparser]
version = "0.31"
[dependencies.csv]
version = "1.3"
[dependencies.image]
version = "0.24"
[dependencies.lopdf]
version = "0.32"
[dependencies.quick-xml]
version = "0.31"
[dependencies.rayon]
optional = true
version = "1.10"
[dependencies.scraper]
version = "0.18"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.tar]
version = "0.4"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["fs", "io-util", "macros", "rt-multi-thread"]
optional = true
version = "1.0"
[dependencies.zip]
version = "0.6"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.axum]
features = ["multipart"]
version = "0.7"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.predicates]
version = "3.0"
[dev-dependencies.reqwest]
features = ["multipart", "json"]
version = "0.12"
[dev-dependencies.tempfile]
version = "3.8"
[dev-dependencies.tokio]
features = ["full"]
version = "1.0"
[[example]]
name = "async_extraction"
path = "examples/async_extraction.rs"
[[example]]
name = "basic_extraction"
path = "examples/basic_extraction.rs"
[[example]]
name = "batch_processing"
path = "examples/batch_processing.rs"
[[example]]
name = "create_large_test_fixtures"
path = "examples/create_large_test_fixtures.rs"
[[example]]
name = "create_large_test_fixtures_v2"
path = "examples/create_large_test_fixtures_v2.rs"
[[example]]
name = "create_phase3_fixtures"
path = "examples/create_phase3_fixtures.rs"
[[example]]
name = "create_test_fixtures"
path = "examples/create_test_fixtures.rs"
[[example]]
name = "css_extraction"
path = "examples/css_extraction.rs"
[[example]]
name = "custom_parser"
path = "examples/custom_parser.rs"
[[example]]
name = "html_extraction"
path = "examples/html_extraction.rs"
[[example]]
name = "legacy_office_extraction"
path = "examples/legacy_office_extraction.rs"
[[example]]
name = "presentation_extraction"
path = "examples/presentation_extraction.rs"
[[example]]
name = "rtf_extraction"
path = "examples/rtf_extraction.rs"
[[example]]
name = "spreadsheet_extraction"
path = "examples/spreadsheet_extraction.rs"
[[example]]
name = "web_client"
path = "examples/web_client.rs"
[[example]]
name = "web_service"
path = "examples/web_service.rs"
[features]
async = ["tokio"]
default = []
parallel = ["rayon"]
[lib]
name = "omniparse"
path = "src/lib.rs"
[package]
authors = ["Chris Olson"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["parsing", "text-processing"]
description = "A Rust toolkit for detecting and extracting metadata, text, and content from various file formats"
edition = "2024"
keywords = ["parser", "extraction", "metadata", "mime", "content"]
license = "MIT OR Apache-2.0"
name = "omniparse"
readme = "README.md"
repository = "https://github.com/sirhco/omniparse"
version = "0.2.0"
[[test]]
name = "cli_test"
path = "tests/cli_test.rs"
[[test]]
name = "core_types_test"
path = "tests/core_types_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "parser_registration_test"
path = "tests/parser_registration_test.rs"
[[test]]
name = "parser_tests"
path = "tests/parser_tests.rs"
[[test]]
name = "performance_test"
path = "tests/performance_test.rs"
[[test]]
name = "type_detection_test"
path = "tests/type_detection_test.rs"