blob: cc9e454e1d0e5a32e4615c27547c7e6191054db4 (
plain)
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
38
|
[package]
name = "sputnik"
version = "0.3.6"
authors = ["Martin Fischer <martin@push-f.com>"]
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", "async-trait"]
hyper_body_json = ["serde_json", "hyper_body"]
[dependencies]
http = "0.2"
cookie = { version = "0.15", features = ["percent-encode"] }
serde = { version = "1.0", features = ["derive"] }
serde_urlencoded = "0.7.0"
base64 = "0.13"
hmac = "0.10"
httpdate = "0.3.2"
mime = "0.3"
rand = "0.8"
sha2 = "0.9"
time = "0.2"
thiserror = "1.0"
hyper = { version = "0.14", optional = true }
async-trait = { version = "0.1", optional = true }
serde_json = { version = "1.0", optional = true }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
|