forked from rwf2/cookie-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
35 lines (31 loc) · 1.15 KB
/
Cargo.toml
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
[package]
name = "cookie"
version = "0.14.1"
authors = ["Sergio Benitez <[email protected]>", "Alex Crichton <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
repository = "https://github.com/SergioBenitez/cookie-rs"
documentation = "https://docs.rs/cookie"
readme = "README.md"
description = """
HTTP cookie parsing and cookie jar management. Supports signed and private
(encrypted, authenticated) jars.
"""
[features]
percent-encode = ["percent-encoding"]
secure = ["private", "signed", "key-expansion"]
private = ["aes-gcm", "base64", "rand"]
signed = ["hmac", "sha2", "base64", "rand"]
key-expansion = ["sha2", "hkdf"]
[dependencies]
time = { version = "0.2.11", default-features = false, features = ["std"] }
percent-encoding = { version = "2.0", optional = true }
# dependencies for secure (private/signed) functionality
aes-gcm = { version = "0.6.0", optional = true }
hmac = { version = "0.8.0", optional = true }
sha2 = { version = "0.9.0", optional = true }
base64 = { version = "0.12.1", optional = true }
rand = { version = "0.7.3", optional = true }
hkdf = { version = "0.9.0", optional = true }
[package.metadata.docs.rs]
all-features = true