# 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" rust-version = "1.74" name = "aigis" version = "0.2.2" authors = ["Blooym"] description = "A simple and configurable content proxy." readme = "README.md" keywords = ["proxy"] categories = [ "web-programming::http-server", "multimedia:images", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Blooym/aigis" [dependencies.anyhow] version = "1.0.82" features = ["backtrace"] [dependencies.axum] version = "0.7.5" features = [ "http2", "tracing", ] [dependencies.bytes] version = "1.6.0" [dependencies.dotenvy] version = "0.15.7" [dependencies.http-cache-reqwest] version = "0.14.0" optional = true default-features = false [dependencies.image] version = "0.25.1" [dependencies.mime] version = "0.3.17" [dependencies.reqwest] version = "0.12.4" features = [ "macos-system-configuration", "charset", "http2", ] default-features = false [dependencies.reqwest-middleware] version = "0.3.0" [dependencies.serde] version = "1.0.198" features = ["derive"] [dependencies.tokio] version = "1.37.0" features = [ "signal", "net", ] [dependencies.tower-http] version = "0.5.2" features = [ "catch-panic", "normalize-path", "timeout", "trace", ] [dependencies.tracing] version = "0.1.40" [dependencies.url] version = "2.5.0" [features] cache-moka = [ "http-cache-reqwest", "http-cache-reqwest/manager-moka", ] default = [ "rustls-tls", "cache-moka", ] native-tls = ["reqwest/native-tls"] rustls-tls = ["reqwest/rustls-tls"] [lints.rust] missing_docs = "warn" [lints.rustdoc] missing_crate_level_docs = "warn" unescaped_backticks = "warn"