[package]
edition = "2024"
rust-version = "1.85"
name = "capp-config"
version = "0.7.2"
authors = ["oiwn"]
build = false
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
license = "MIT"
repository = "https://github.com/oiwn/capp-rs"
resolver = "2"
[features]
http = [
"dep:reqwest",
"dep:backoff",
]
[lib]
name = "capp_config"
path = "src/lib.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "healthcheck_tests"
path = "tests/healthcheck_tests.rs"
[dependencies.backoff]
version = "0.4"
features = ["tokio"]
optional = true
[dependencies.rand]
version = "0.10"
[dependencies.regex]
version = "1.12"
[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.tracing]
version = "0.1"
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.bytes]
version = "1.11"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.hyper]
version = "1.9"
features = [
"server",
"http1",
]
[dev-dependencies.pin-project-lite]
version = "0.2"
[dev-dependencies.tempfile]
version = "3"