[package] name = "yukikaze" version = "1.0.10" authors = ["Douman "] description = "Beautiful and elegant HTTP library." readme = "README.md" documentation = "https://docs.rs/yukikaze" repository = "https://gitlab.com/Douman/yukikaze" license = "Apache-2.0" keywords = ["http", "http-client"] include = [ "**/*.rs", "Cargo.toml", "README.md" ] categories = ["web-programming::http-client"] edition = "2018" [dependencies.hyper] version = "0.13" default-features = false features = ["tcp"] [dependencies] http-body = "0.3" http = "0.2" percent-encoding = "2.1" bytes = "0.5" mime = "0.3" mime_guess = "2" compu = { version = "0.5.1", optional = true, default-features = false, features = ["brotli-c", "zlib"] } tokio = { version = "0.2", features = ["net"] } # We should use the same version as ring ring = { version = "0.16", optional = true, default-features = false } tokio-rustls = { version = "0.14", optional = true } webpki-roots = { version = "0.20", optional = true } serde = "1" serde_json = "1" cookie = "0.14" httpdate = "0.3" etag = "2" serde_urlencoded = "0.6" encoding_rs = { version = "0.8", optional = true } data-encoding = "2" async-timer = { version = "0.7", features = ["tokio_on"] } [package.metadata.docs.rs] features = ["encoding", "websocket", "docs"] [features] default = ["rustls-on", "compu"] # Enables usage of rustls, which replaces default connectors rustls-on = ["tokio-rustls", "webpki-roots"] # Enables encoding/decoding of text content encoding = ["encoding_rs"] # Enables websocket upgrade websocket = ["ring", "carry_extensions"] # Specifies that documentation is being generated docs = ["compu/docs"] # Stores request's Extensions in response's Extensions carry_extensions = [] [dev-dependencies] tokio = { version = "0.2.0", default-features = false, features = ["rt-core", "macros"] }