# 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 = "capp" version = "0.4.3" authors = ["oiwn"] build = false exclude = [ "tmp/*", "html/*", ".github/*", ".gitignore", ".tmuxp.yaml", "notes.org", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Common things i use to build Rust CLI tools for web crawlers." homepage = "https://github.com/oiwn/capp-rs" readme = "README.md" keywords = [ "web-crawler", "async", "executor", ] categories = [ "asynchronous", "web-programming", "concurrency", ] license = "MIT" repository = "https://github.com/oiwn/capp-rs" [lib] name = "capp" path = "src/lib.rs" doctest = false [[bin]] name = "capp" path = "src/main.rs" [[example]] name = "basic" path = "examples/basic.rs" [[example]] name = "hackernews" path = "examples/hackernews/main.rs" [[test]] name = "common" path = "tests/common.rs" [[test]] name = "healthcheck_tests" path = "tests/healthcheck_tests.rs" [[test]] name = "http_tests" path = "tests/http_tests.rs" [[test]] name = "manager_tests" path = "tests/manager_tests.rs" [[test]] name = "redis_rr_tests" path = "tests/redis_rr_tests.rs" [[test]] name = "redis_tests" path = "tests/redis_tests.rs" [dependencies.anyhow] version = "1" [dependencies.async-trait] version = "0.1" [dependencies.backoff] version = "0.4" features = ["tokio"] optional = true [dependencies.derive_builder] version = "0.20" [dependencies.indexmap] version = "2.6" [dependencies.rand] version = "0.8" optional = true [dependencies.regex] version = "1.11" [dependencies.reqwest] version = "0.12" features = [ "gzip", "rustls-tls", "json", ] optional = true [dependencies.rustis] version = "0.13" features = ["tokio-runtime"] optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_yaml] version = "0.9" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.41" features = ["full"] [dependencies.tracing] version = "0.1" [dependencies.tracing-futures] version = "0.2" [dependencies.tracing-subscriber] version = "0.3" [dependencies.url] version = "2.5" [dependencies.uuid] version = "1.11" features = [ "v4", "serde", ] [dev-dependencies.base64] version = "0.22" [dev-dependencies.bytes] version = "1.6" [dev-dependencies.dotenvy] version = "0.15" [dev-dependencies.http-body-util] version = "0.1" [dev-dependencies.hyper] version = "1.5" features = [ "server", "http1", ] [dev-dependencies.md5] version = "0.7" [dev-dependencies.pin-project-lite] version = "0.2" [dev-dependencies.rand] version = "0.8" [dev-dependencies.scraper] version = "0.21" [dev-dependencies.url] version = "2.5" [features] healthcheck = ["dep:reqwest"] http = [ "dep:backoff", "dep:reqwest", "dep:rand", ] redis = ["dep:rustis"]