summaryrefslogtreecommitdiffstats
path: root/third_party/rust/cookie/Cargo.toml
blob: a6db2d1d1bd7291450dfddcf42bf3b0a311e3ed8 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "cookie"
version = "0.16.2"
authors = [
    "Sergio Benitez <sb@sergio.bz>",
    "Alex Crichton <alex@alexcrichton.com>",
]
build = "build.rs"
description = """
HTTP cookie parsing and cookie jar management. Supports signed and private
(encrypted, authenticated) jars.
"""
documentation = "https://docs.rs/cookie"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/SergioBenitez/cookie-rs"

[package.metadata.docs.rs]
all-features = true

[dependencies.aes-gcm]
version = "0.10.0"
optional = true

[dependencies.base64]
version = "0.20"
optional = true

[dependencies.hkdf]
version = "0.12.0"
optional = true

[dependencies.hmac]
version = "0.12.0"
optional = true

[dependencies.percent-encoding]
version = "2.0"
optional = true

[dependencies.rand]
version = "0.8"
optional = true

[dependencies.sha2]
version = "0.10.0"
optional = true

[dependencies.subtle]
version = "2.3"
optional = true

[dependencies.time]
version = "0.3"
features = [
    "std",
    "parsing",
    "formatting",
    "macros",
]
default-features = false

[build-dependencies.version_check]
version = "0.9.4"

[features]
key-expansion = [
    "sha2",
    "hkdf",
]
percent-encode = ["percent-encoding"]
private = [
    "aes-gcm",
    "base64",
    "rand",
    "subtle",
]
secure = [
    "private",
    "signed",
    "key-expansion",
]
signed = [
    "hmac",
    "sha2",
    "base64",
    "rand",
    "subtle",
]