# 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.95"
name = "omry-cli"
version = "0.15.1"
authors = ["Lake Hope"]
build = false
exclude = [
    "**/snapshots",
    "test_data",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Experimental CLI for Omry."
readme = "README.md"
keywords = [
    "archival",
    "cli",
    "search",
    "web",
]
categories = [
    "command-line-utilities",
    "web-programming",
]
license = "GPL-3.0"
repository = "https://codeberg.org/omry/omry-cli"

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

[[bin]]
name = "omry-cli"
path = "src/main.rs"

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

[dependencies.aho-corasick]
version = "1"

[dependencies.anyhow]
version = "1"

[dependencies.chrono]
version = "0.4.45"
features = ["clock"]
default-features = false

[dependencies.config]
version = "0.15.24"
features = ["toml"]
default-features = false

[dependencies.console]
version = "0.16.3"

[dependencies.dialoguer]
version = "0.12.0"
features = ["history"]

[dependencies.directories]
version = "6"

[dependencies.dom_smoothie]
version = "0.18.0"
features = ["aho-corasick"]

[dependencies.indicatif]
version = "0.18.4"
features = ["rayon"]

[dependencies.omry-service]
version = "0.19.1"

[dependencies.owo-colors]
version = "4.3.0"

[dependencies.postcard]
version = "1.1"

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

[dependencies.rayon]
version = "1"

[dependencies.regex]
version = "1.12"

[dependencies.reqwest]
version = "0.13"
features = ["gzip"]

[dependencies.semver]
version = "1"

[dependencies.serde]
version = "1"

[dependencies.strum]
version = "0.28.0"

[dependencies.strum_macros]
version = "0.28.0"

[dependencies.tokio]
version = "1.52"
features = [
    "net",
    "macros",
    "rt",
    "rt-multi-thread",
]

[dependencies.toml]
version = "1.1.2"
features = [
    "serde",
    "display",
]
default-features = false

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"

[dependencies.webbrowser]
version = "1"

[dev-dependencies.dns-lookup]
version = "3"

[dev-dependencies.insta]
version = "1.48"
features = [
    "filters",
    "redactions",
    "ron",
]

[dev-dependencies.omry-integration]
version = "0.19.1"

[dev-dependencies.pretty_assertions]
version = "1.4"

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

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

[dev-dependencies.url]
version = "2.5"

[lints.clippy]
clone_on_ref_ptr = "deny"
expect_used = "deny"
missing_docs_in_private_items = "deny"
print_stderr = "deny"
print_stdout = "deny"
unwrap_used = "deny"

[lints.rust]
missing_docs = "forbid"

[profile.dev.package.insta]
opt-level = 3
