[package] name = "digest-headers" description = "A simple library to hash a request's body in the headers" version = "0.2.1" license = "GPL-3.0" authors = ["asonix "] repository = "https://git.asonix.dog/asonix/digest-headers" readme = "README.md" keywords = ["web", "http", "header"] edition = "2018" [workspace] members = [ "examples/actix-web-client", "examples/actix-web-server", "examples/hyper-client", "examples/hyper-server", "examples/reqwest-client", "examples/rocket-server" ] [features] default = [] use_actix_web = ["actix-web", "futures", "bytes"] use_hyper = ["hyper", "futures", "bytes", "http"] use_reqwest = ["reqwest", "bytes"] use_rocket = ["rocket"] [dependencies] actix-web = { version = "0.7", optional = true } base64 = "0.9" bytes = { version = "0.4", optional = true } http = { version = "0.1", optional = true } hyper = { version = "0.12", optional = true } failure = "0.1" futures = { version = "0.1", optional = true } reqwest = { version = "0.9", optional = true } ring = "0.13" rocket = { version = "0.4", optional = true }