capp 0.7.2

Common things i use to build Rust CLI tools for web crawlers.
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"
name = "capp"
version = "0.7.2"
authors = ["oiwn"]
build = false
exclude = [
    "tmp/*",
    "html/*",
    ".github/*",
    ".gitignore",
    ".tmuxp.yaml",
    "notes.org",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common things i use to build Rust CLI tools for web crawlers."
readme = false
keywords = [
    "web-crawler",
    "async",
    "executor",
]
categories = [
    "asynchronous",
    "web-programming",
    "concurrency",
]
license = "MIT"
repository = "https://github.com/oiwn/capp-rs"
resolver = "2"

[features]
cache = ["capp-cache"]
healthcheck = ["dep:reqwest"]
http = [
    "dep:reqwest",
    "capp-config/http",
]
observability = [
    "dep:opentelemetry",
    "dep:opentelemetry_sdk",
    "dep:opentelemetry-otlp",
]
router = ["capp-router"]
stats-http = [
    "dep:hyper",
    "dep:http-body-util",
    "dep:bytes",
]
urls = ["capp-urls"]

[lib]
name = "capp"
path = "src/lib.rs"
doctest = false

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.bytes]
version = "1.11"
optional = true

[dependencies.capp-cache]
version = "0.7.2"
optional = true

[dependencies.capp-config]
version = "0.7.2"

[dependencies.capp-queue]
version = "0.7.2"

[dependencies.capp-router]
version = "0.7.2"
optional = true

[dependencies.capp-urls]
version = "0.7.2"
optional = true

[dependencies.http-body-util]
version = "0.1"
optional = true

[dependencies.hyper]
version = "1.9"
features = [
    "server",
    "http1",
]
optional = true

[dependencies.hyper-util]
version = "0.1"
features = ["full"]

[dependencies.opentelemetry]
version = "0.31.0"
features = ["metrics"]
optional = true

[dependencies.opentelemetry-otlp]
version = "0.31.1"
features = [
    "metrics",
    "http-proto",
]
optional = true

[dependencies.opentelemetry_sdk]
version = "0.31.0"
features = [
    "metrics",
    "rt-tokio",
]
optional = true

[dependencies.rand]
version = "0.10"

[dependencies.reqwest]
version = "0.13"
features = [
    "gzip",
    "rustls",
    "json",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.51"
features = ["full"]

[dependencies.toml]
version = "1.1.2"

[dependencies.tower]
version = "0.5.3"
features = [
    "util",
    "timeout",
    "load-shed",
    "limit",
    "buffer",
    "retry",
]

[dependencies.tracing]
version = "0.1"

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

[dependencies.uuid]
version = "1.23"
features = [
    "v4",
    "v7",
    "serde",
]

[dev-dependencies.base64]
version = "0.22"

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.fjall]
version = "3.1.8"

[dev-dependencies.md5]
version = "0.8"

[dev-dependencies.pin-project-lite]
version = "0.2"

[dev-dependencies.rand]
version = "0.10"

[dev-dependencies.scraper]
version = "0.26"

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