-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
46 lines (41 loc) · 1.32 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
[package]
name = "actix-jwt-authc"
version = "0.2.0"
edition = "2021"
authors = ["Lloyd <[email protected]>"]
description = "Actix middleware for authenticating JWTs with support for invalidation"
license = "MIT"
documentation = "https://docs.rs/actix-jwt-authc"
repository = "https://github.com/lloydmeta/actix-jwt-authc"
keywords = ["actix", "jwt", "invalidation", "authentication", "auth"]
readme = "README.md"
[features]
default = []
tracing = ["dep:tracing"]
session = ["dep:actix-session"]
# Enables tracing-based log (also brings in tracing)
log = ["tracing/log"]
[dependencies]
futures-util = "0.3"
tokio = { version = "1.19", features = ["sync"], default-features = false }
actix-web = "4"
actix-session = { version = "0.6", optional = true }
jsonwebtoken = "8"
serde = { version = "1.0", features = ["derive"] }
derive_more = "0.99"
time = "0.3"
tracing = { version = "0.1", optional = true }
[dev-dependencies]
actix-session = { version = "0.6", features = ["cookie-session"] }
actix-http = "3"
dashmap = "5.3"
uuid = { version = "1.1", features = ["v4", "fast-rng", "macro-diagnostics"] }
ring = "0.16"
tracing-subscriber = "0.3"
futures = "0.3"
# docs.rs-specific configuration
[package.metadata.docs.rs]
# document all features
all-features = true
# defines the configuration attribute `docsrs`
rustdoc-args = ["--cfg", "docsrs"]