forked from imbolc/tower-cookies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
53 lines (46 loc) · 1.18 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[package]
authors = ["imbolc"]
categories = ["web-programming"]
description = "Cookie manager middleware for tower."
edition = "2021"
homepage = "https://github.com/imbolc/tower-cookies"
keywords = ["axum", "cookie", "cookies", "tower"]
license = "MIT"
name = "tower-cookies"
readme = "README.md"
repository = "https://github.com/imbolc/tower-cookies"
version = "0.9.0"
[features]
default = ["axum-core"]
signed = ["cookie/signed"]
private = ["cookie/secure"]
[dependencies]
async-trait = "0.1"
axum-core = { version = "0.3", optional = true }
cookie = { version = "0.17", features = ["percent-encode"] }
futures-util = "0.3"
http = "0.2"
parking_lot = "0.12"
pin-project-lite = "0.2"
tower-layer = "0.3"
tower-service = "0.3"
[dev-dependencies]
axum = "0.6"
hyper = "0.14"
once_cell = "1.9"
rusty-hook = "0.11"
tokio = { version = "1", features = ["full"] }
tower = "0.4"
tracing-subscriber = "0.3"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "counter"
required-features = ["axum-core"]
[[example]]
name = "hello_world"
required-features = ["axum-core"]
[[example]]
name = "signed_private"
required-features = ["axum-core", "signed", "private"]