# 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"
name = "mrdocument"
version = "0.3.1"
authors = ["Ole Kliemann <mail@olekliemann.de>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Automatic PDF transcription and classification via OpenAI"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/olekli/mrdocument"

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

[[bin]]
name = "mrdocument"
path = "src/bin.rs"

[[bin]]
name = "mrdocument-install"
path = "src/install.rs"

[[bin]]
name = "mrdocument-watcher-example"
path = "src/watcher_example.rs"

[dependencies.base64]
version = "0.22.1"

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

[dependencies.dirs]
version = "5.0.1"

[dependencies.display_json]
version = "0.2.1"

[dependencies.env_logger]
version = "0.11.5"

[dependencies.filetime]
version = "0.2.25"

[dependencies.fmt]
version = "0.1.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.log]
version = "0.4.22"

[dependencies.lopdf]
version = "0.34.0"
features = [
    "async",
    "tokio",
]

[dependencies.notify]
version = "7.0.0"

[dependencies.once_cell]
version = "1.20.2"

[dependencies.openai-api-rs]
version = "5.2.2"

[dependencies.schemars]
version = "0.8.21"

[dependencies.serde]
version = "1.0.215"

[dependencies.serde_json]
version = "1.0.133"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.sha2]
version = "0.10.8"

[dependencies.strum]
version = "0.26.3"
features = ["derive"]

[dependencies.strum_macros]
version = "0.26.4"

[dependencies.tempdir]
version = "0.3.7"

[dependencies.thiserror]
version = "2.0.3"

[dependencies.tokio]
version = "1.41.1"
features = [
    "full",
    "macros",
    "sync",
]

[dependencies.tokio-stream]
version = "0.1.16"
features = [
    "io-util",
    "signal",
    "time",
]

[dependencies.uuid]
version = "1.11.0"
features = [
    "v4",
    "fast-rng",
]

[dependencies.which]
version = "7.0.0"

[dev-dependencies.async-std]
version = "1.13.0"
features = ["attributes"]

[dev-dependencies.rstest]
version = "0.23.0"
