aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 7abd2a5b60456eb469d6867eb331195af076a530 (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
[package]
name = "sputnik"
version = "0.4.1"
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 = "2021"
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"]

[dependencies]
http = "0.2"
serde = { version = "1.0", features = ["derive"] }
serde_urlencoded = "0.7.1"
httpdate = "1"
mime = "0.3"
thiserror = "1.0"

hyper = { version = "0.14", optional = true }
serde_json = { version = "1.0", optional = true }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]