1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
[package]
name = "oxhttp"
version = "0.3.1"
authors = ["Tpt <thomas@pellissier-tanon.fr>"]
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", 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"]
|