[package] name = "sputnik" version = "0.4.1" authors = ["Martin Fischer "] license = "MIT" description = "Extends the types from the http crate with methods to deal with cookies/content-types (and optionally adds deserialization methods to hyper::Body)." repository = "https://git.push-f.com/sputnik" edition = "2018" categories = ["web-programming::http-server"] keywords = ["web", "cookie", "hyper", "hmac"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] hyper_body = ["hyper"] hyper_body_json = ["serde_json", "hyper_body"] security = ["base64", "hmac", "rand", "sha2"] [dependencies] http = "0.2" serde = { version = "1.0", features = ["derive"] } serde_urlencoded = "0.7.0" httpdate = "0.3.2" mime = "0.3" thiserror = "1.0" hyper = { version = "0.14", optional = true } serde_json = { version = "1.0", optional = true } base64 = { version = "0.13", optional = true } hmac = { version = "0.10", optional = true } rand = { version = "0.8", optional = true } sha2 = { version = "0.9", optional = true } [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]