-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
36 lines (31 loc) · 1.15 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
[package]
name = "akashic-auth"
authors = ["MagicalSheep <[email protected]>"]
description = "A gateway service working with Casdoor and Caddy."
readme = "README.md"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { version = "1", features = ["full"] }
warp = "0.3"
pretty_env_logger = "0.4.0"
log = "0.4.17"
chrono = "0.4.22"
lazy_static = "1.4.0"
config = "0.13.2"
serde_derive = "1.0.147"
serde = "1.0.147"
reqwest = { version = "0.11.12", features = ["json"] }
jsonwebtoken = "8.1.1"
clap = { version = "4.0.22", features = ["derive"] }
sqlx = { version = "0.6.2", features = [ "mysql", "runtime-tokio-rustls", "offline" ], optional = true }
casbin = { version = "2.0.9", features = [ "runtime-tokio" ], optional = true }
async-trait = { version = "0.1.58", optional = true }
dotenvy = { version = "0.15.6", optional = true }
once_cell = { version = "1.16.0", optional = true }
[features]
default = ["builtin-casbin"]
builtin-casbin = ["dep:casbin", "dep:async-trait", "dep:dotenvy", "dep:once_cell", "dep:sqlx"]
[profile.dev.package.sqlx-macros]
opt-level = 3