forked from maxcountryman/axum-login
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
51 lines (46 loc) 路 1.2 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
[package]
name = "axum-login"
version = "0.2.0"
description = "馃 Session-based user authentication for Axum."
edition = "2021"
homepage = "https://github.com/maxcountryman/axum-login"
license = "MIT"
keywords = ["sessions", "authentication", "authorization", "login", "axum"]
categories = [
"web-programming::http-server",
"web-programming",
"database",
"asynchronous",
]
repository = "https://github.com/maxcountryman/axum-login"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = []
mssql = ["sqlx/mssql"]
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
sqlite = ["sqlx/sqlite"]
sqlx = ["sqlx/runtime-tokio-rustls"]
[dependencies]
async-trait = "0.1.57"
axum = "0.5.15"
axum-sessions = "0.3.1"
base64 = "0.13.0"
eyre = "0.6.8"
futures = "0.3.21"
ring = "0.16.20"
serde_json = "1.0.83"
sqlx = { version = "0.6.1", optional = true }
tokio = { version = "1.20.1", features = ["sync"] }
tower = "0.4.13"
tower-http = { version = "0.3.4", features = ["auth"] }
tracing = "0.1.36"
[dev-dependencies.rand]
version = "0.8.5"
features = ["min_const_gen"]
[dev-dependencies.tokio]
version = "1.20.1"
default-features = false
features = ["macros", "rt-multi-thread"]