# 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.75" name = "devicecheck" version = "1.0.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "chatgpt preauth devicecheck server" readme = "README.md" license = "MIT" [profile.release] opt-level = "z" lto = true codegen-units = 1 panic = "abort" strip = true [[bin]] name = "devicecheck" path = "src/main.rs" [dependencies.anyhow] version = "1" [dependencies.bytes] version = "1.7.2" [dependencies.clap] version = "4" features = [ "derive", "env", ] [dependencies.futures-util] version = "0.3" [dependencies.http] version = "0.2.12" [dependencies.hyper] version = "0.14" features = [ "client", "http1", "server", "tcp", "stream", ] [dependencies.mimalloc] version = "0.1.39" default-features = false [dependencies.moka] version = "0.12.8" features = ["sync"] default-features = false [dependencies.rand] version = "0.8.5" [dependencies.rcgen] version = "0.12.1" features = ["x509-parser"] [dependencies.reqwest] version = "0.11" features = [ "stream", "socks", "json", "cookies", "rustls-tls", ] default-features = false [dependencies.rustls] version = "0.21.8" features = ["dangerous_configuration"] [dependencies.rustls-pemfile] version = "1.0.4" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3.36" [dependencies.tokio] version = "1.40.0" features = [ "macros", "signal", "rt-multi-thread", ] default-features = false [dependencies.tokio-rustls] version = "0.24.1" features = ["tls12"] default-features = false [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.17" features = ["env-filter"] [dependencies.typed-builder] version = "0.20.0" [target.'cfg(target_family = "unix")'.dependencies.daemonize] version = "0.5.0" [target.'cfg(target_family = "unix")'.dependencies.nix] version = "0.27.1" features = [ "signal", "user", "ptrace", ]