[package] name = "oxhttp" version = "0.3.3" authors = ["Tpt "] license = "MIT OR Apache-2.0" readme = "README.md" documentation = "https://docs.rs/oxhttp" keywords = ["HTTP"] repository = "https://github.com/oxigraph/oxhttp" description = """ Simple implementation of HTTP 1.1 (both client and server) """ autobenches = false edition = "2021" rust-version = "1.74" [dependencies] flate2 = { version = "1", optional = true } http = "1.1" httparse = "1.8" url = { version = "2.4", optional = true } native-tls = { version = "0.2.11", optional = true } rustls = { version = "0.23.27", optional = true, default-features = false, features = [ "std", "tls12", ] } rustls-pki-types = { version = "1.11", optional = true } rustls-platform-verifier = { version = ">=0.6,<0.8", optional = true } [features] default = ["client", "server"] native-tls = ["dep:native-tls"] rustls-ring-native = [ "dep:rustls", "rustls/ring", "dep:rustls-platform-verifier", "dep:rustls-pki-types", ] client = ["dep:url"] server = [] flate2 = ["dep:flate2"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]