# 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.67" name = "twilight-http" version = "0.16.0-rc.1" authors = ["Twilight Contributors"] include = [ "src/**/*.rs", "README.md", ] publish = true description = "Discord REST API client for the Twilight ecosystem." homepage = "https://twilight.rs/chapter_1_crates/section_2_http.html" readme = "README.md" keywords = [ "discord", "discord-api", "twilight", ] categories = [ "api-bindings", "asynchronous", "web-programming::http-client", ] license = "ISC" repository = "https://github.com/twilight-rs/twilight.git" [dependencies.brotli] version = "3.0.0" features = ["std"] optional = true default-features = false [dependencies.fastrand] version = "2" features = ["std"] default-features = false [dependencies.http] version = "1" default-features = false [dependencies.http-body-util] version = "0.1" default-features = false [dependencies.hyper] version = "1" default-features = false [dependencies.hyper-hickory] version = "0.7" optional = true default-features = false [dependencies.hyper-rustls] version = "0.26" features = [ "http1", "http2", "ring", ] optional = true default-features = false [dependencies.hyper-tls] version = "0.6" features = ["alpn"] optional = true default-features = false [dependencies.hyper-util] version = "0.1.2" features = [ "client-legacy", "http1", "http2", "tokio", ] default-features = false [dependencies.percent-encoding] version = "2" default-features = false [dependencies.serde] version = "1" features = ["derive"] default-features = false [dependencies.serde_json] version = "1" features = ["std"] default-features = false [dependencies.simd-json] version = ">=0.4, <0.14" features = [ "serde_impl", "swar-number-parsing", ] optional = true default-features = false [dependencies.tokio] version = "1.0" features = [ "sync", "time", ] default-features = false [dependencies.tracing] version = "0.1" features = [ "std", "attributes", ] default-features = false [dependencies.twilight-http-ratelimiting] version = "0.16.0-rc.1" default-features = false [dependencies.twilight-model] version = "0.16.0-rc.1" default-features = false [dependencies.twilight-validate] version = "0.16.0-rc.1" default-features = false [dev-dependencies.serde_test] version = "1" default-features = false [dev-dependencies.static_assertions] version = "1.1.0" default-features = false [dev-dependencies.tokio] version = "1.0" features = [ "macros", "rt-multi-thread", ] default-features = false [dev-dependencies.twilight-util] version = "0.16.0-rc.1" features = ["builder"] default-features = false [features] decompression = ["dep:brotli"] default = [ "decompression", "rustls-native-roots", ] hickory = ["dep:hyper-hickory"] native-tls = ["dep:hyper-tls"] rustls-native-roots = [ "dep:hyper-rustls", "hyper-rustls?/native-tokio", ] rustls-webpki-roots = [ "dep:hyper-rustls", "hyper-rustls?/webpki-tokio", ]