-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCargo.toml
40 lines (36 loc) · 1.1 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
[workspace]
members = [".", "example/minimal", "example/middleware"]
[package]
name = "axum_csrf"
version = "0.11.0"
authors = ["Andrew Wheeler <[email protected]>"]
description = "Library to Provide a CSRF (Cross-Site Request Forgery) protection layer."
edition = "2021"
license = "MIT"
readme = "README.md"
documentation = "https://docs.rs/axum_csrf"
keywords = ["Axum", "CSRF", "Cookies"]
repository = "https://github.com/AscendingCreations/AxumCSRF"
[features]
default = []
layer = ["dep:tower-layer", "dep:tower-service"]
[dependencies]
axum-core = "0.5.0"
http = "1.2.0"
async-trait = "0.1.83"
rand = "0.8.5"
time = { version = "0.3.37", default-features = false, features = ["std"] }
cookie = { version = "0.18.1", features = [
"percent-encode",
"signed",
"private",
] }
thiserror = "2.0.9"
tower-layer = { version = "0.3.3", optional = true }
tower-service = { version = "0.3.3", optional = true }
hmac = "0.12.1"
sha2 = "0.10.8"
base64ct = { version = "1.6.0", features = ["alloc"] }
[package.metadata.docs.rs]
features = ["layer"]
rustdoc-args = ["--document-private-items", "--cfg", "docsrs"]