# 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.81" name = "duckai" version = "0.2.0" authors = ["0x676e67 "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "DuckDuckGo AI to OpenAI API" readme = "README.md" license = "MIT" repository = "https://github.com/penumbra-x/duckai" [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" strip = true [[bin]] name = "duckai" path = "src/main.rs" [dependencies.async-stream] version = "0.3.6" [dependencies.axum] version = "0.6.20" features = [ "http2", "headers", ] [dependencies.axum-extra] version = "0.8.0" [dependencies.axum-server] version = "0.5.0" features = ["tls-boringssl"] package = "axum-server2" [dependencies.cidr] version = "0.3.0" features = ["serde"] [dependencies.clap] version = "4" features = [ "derive", "env", ] [dependencies.eventsource-stream] version = "0.2.3" [dependencies.futures-util] version = "0.3" [dependencies.hickory-resolver] version = "0.24" [dependencies.moka] version = "0.12" features = ["future"] default-features = false [dependencies.rand] version = "0.8" [dependencies.rquest] version = "0.27.0" features = [ "json", "stream", "cookies", "socks", ] [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_yaml] version = "0.9.33" [dependencies.thiserror] version = "2" [dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", "signal", ] [dependencies.tower] version = "0.4.13" features = ["limit"] default-features = false [dependencies.tower-http] version = "0.4.4" features = [ "trace", "cors", ] default-features = false [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.0" features = ["env-filter"] [dependencies.typed-builder] version = "0.20.0" [dependencies.url] version = "2" features = ["serde"] [features] default = [] [target.'cfg(target_family = "unix")'.dependencies.daemonize] version = "0.5.0" [target.'cfg(target_family = "unix")'.dependencies.jemallocator] version = "0.6" package = "tikv-jemallocator" [target.'cfg(target_family = "unix")'.dependencies.nix] version = "0.29.0" features = [ "user", "signal", ] [target.'cfg(target_family = "unix")'.dependencies.sysinfo] version = "0.30" default-features = false [target.'cfg(target_os = "linux")'.dependencies.netlink-packet-route] version = "0.19" [target.'cfg(target_os = "linux")'.dependencies.rtnetlink] version = "0.14" [target.'cfg(target_os = "linux")'.dependencies.sysctl] version = "0.6.0"