-
Notifications
You must be signed in to change notification settings - Fork 22
/
Cargo.toml
52 lines (45 loc) · 1.21 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
[package]
authors = ["imbolc"]
categories = ["web-programming"]
description = "Cookie manager middleware for tower."
edition = "2021"
rust-version = "1.70"
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.11.0-rc1"
[features]
default = ["axum-core"]
signed = ["cookie/signed"]
private = ["cookie/secure"]
[dependencies]
axum-core = { version = "0.5.0-rc.1", optional = true }
cookie = { version = "0.18", features = ["percent-encode"] }
futures-util = "0.3"
http = "1.0"
parking_lot = "0.12"
pin-project-lite = "0.2"
tower-layer = "0.3"
tower-service = "0.3"
[dev-dependencies]
axum = "0.8.0-rc.1"
rusty-hook = "0.11"
tokio = { version = "1", features = ["rt-multi-thread"] }
tower = "0.5.2"
tracing-subscriber = "0.3"
http-body-util = "0.1"
[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"]