text-mirror 0.7.0

Converts binary and rich files into text and builds a replica text-mirror tree beside a manifest recording the source, hash, and converter behind every artifact
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 = "2024"
rust-version = "1.88"
name = "text-mirror"
version = "0.7.0"
build = false
exclude = [
    "AGENTS.md",
    "/tests",
    "rust-toolchain.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Converts binary and rich files into text and builds a replica text-mirror tree beside a manifest recording the source, hash, and converter behind every artifact"
documentation = "https://docs.rs/text-mirror"
readme = "README.md"
keywords = [
    "conversion",
    "text-extraction",
    "corpus",
    "provenance",
    "manifest",
]
categories = [
    "command-line-utilities",
    "parsing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hey-jj/text-mirror"

[features]
audio-asr = ["dep:symphonia"]
image-metadata = [
    "dep:kamadak-exif",
    "dep:png",
    "dep:img-parts",
]
image-ocr = ["dep:image"]
records-worker = [
    "dep:parquet",
    "dep:apache-avro",
    "dep:rusqlite",
]
svg-provider = ["image-ocr"]
test-adapters = []

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

[[bin]]
name = "text-mirror"
path = "src/main.rs"

[[bin]]
name = "text-mirror-worker"
path = "src/bin/worker.rs"

[dependencies.anydoc]
version = "=0.1.9"

[dependencies.apache-avro]
version = "=0.22.0"
features = ["snappy"]
optional = true
default-features = false

[dependencies.blake3]
version = "=1.8.6"

[dependencies.calamine]
version = "=0.36.1"

[dependencies.cfb]
version = "=0.14.0"

[dependencies.clap]
version = "=4.6.6"
features = ["derive"]

[dependencies.file-format]
version = "=0.29.0"
features = ["reader-zip"]

[dependencies.image]
version = "=0.25.10"
features = [
    "png",
    "jpeg",
    "webp",
]
optional = true
default-features = false

[dependencies.img-parts]
version = "=0.4.0"
optional = true

[dependencies.kamadak-exif]
version = "=0.6.1"
optional = true

[dependencies.log]
version = "=0.4.33"

[dependencies.lol_html]
version = "=3.0.1"

[dependencies.mailparse]
version = "=0.16.1"

[dependencies.office_oxide]
version = "=0.1.8"

[dependencies.parquet]
version = "=59.2.0"
features = [
    "brotli",
    "crc",
    "flate2-rust_backend",
    "lz4",
    "snap",
    "zstd",
]
optional = true
default-features = false

[dependencies.pdf-inspector]
version = "=1.14.2"

[dependencies.png]
version = "=0.18.1"
optional = true
default-features = false

[dependencies.pulldown-cmark]
version = "=0.13.4"
default-features = false

[dependencies.quick-xml]
version = "=0.41.0"

[dependencies.rusqlite]
version = "=0.40.2"
features = [
    "bundled",
    "limits",
]
optional = true
default-features = false

[dependencies.serde]
version = "=1.0.229"
features = ["derive"]

[dependencies.serde_json]
version = "=1.0.151"

[dependencies.symphonia]
version = "=0.5.5"
features = [
    "aac",
    "flac",
    "isomp4",
    "mp3",
    "pcm",
    "wav",
]
optional = true
default-features = false

[dependencies.tempfile]
version = "=3.27.0"

[dependencies.thiserror]
version = "=2.0.20"

[dependencies.toml]
version = "=1.1.4"

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

[dependencies.walkdir]
version = "=2.5.0"

[dependencies.zip]
version = "=8.6.0"
features = ["deflate"]
default-features = false

[dev-dependencies]

[target.'cfg(target_os = "linux")'.dependencies.landlock]
version = "=0.4.7"

[target.'cfg(target_os = "linux")'.dependencies.seccompiler]
version = "=0.5.0"

[target.'cfg(target_os = "macos")'.dependencies.libproc]
version = "=0.14.10"

[target."cfg(unix)".dependencies.nix]
version = "=0.31.3"
features = [
    "process",
    "sched",
    "signal",
    "user",
]
default-features = false

[target."cfg(unix)".dependencies.rlimit]
version = "=0.11.0"