2022-04-11 04:58:58 +08:00
|
|
|
[package]
|
2022-07-06 15:24:06 +08:00
|
|
|
edition = "2021"
|
|
|
|
license = "Apache-2.0"
|
2022-04-11 04:58:58 +08:00
|
|
|
name = "warpgate-common"
|
2023-12-18 23:24:44 +08:00
|
|
|
version = "0.9.1"
|
2022-04-11 04:58:58 +08:00
|
|
|
|
|
|
|
[dependencies]
|
2022-07-06 15:24:06 +08:00
|
|
|
anyhow = "1.0"
|
2022-04-29 08:16:18 +08:00
|
|
|
argon2 = "0.4"
|
2022-07-06 15:24:06 +08:00
|
|
|
async-trait = "0.1"
|
2022-11-27 03:32:49 +08:00
|
|
|
bytes = "1.3"
|
2023-04-19 16:59:19 +08:00
|
|
|
chrono = { version = "0.4", default_features = false, features = ["serde"] }
|
2022-07-06 15:24:06 +08:00
|
|
|
data-encoding = "2.3"
|
2022-09-02 20:00:08 +08:00
|
|
|
delegate = "0.6"
|
2022-04-11 04:58:58 +08:00
|
|
|
humantime-serde = "1.1"
|
2022-08-09 05:30:18 +08:00
|
|
|
futures = "0.3"
|
2023-01-10 04:32:11 +08:00
|
|
|
once_cell = "1.17"
|
2022-04-29 08:16:18 +08:00
|
|
|
password-hash = "0.4"
|
2022-12-02 04:12:02 +08:00
|
|
|
poem = { version = "1.3.50", features = ["rustls"] }
|
2023-04-19 16:59:19 +08:00
|
|
|
poem-openapi = { version = "2.0", features = [
|
2022-07-27 03:04:24 +08:00
|
|
|
"swagger-ui",
|
|
|
|
"chrono",
|
|
|
|
"uuid",
|
|
|
|
"static-files",
|
|
|
|
] }
|
2022-04-11 04:58:58 +08:00
|
|
|
rand = "0.8"
|
2022-04-16 06:27:10 +08:00
|
|
|
rand_chacha = "0.3"
|
2022-07-27 03:04:24 +08:00
|
|
|
rand_core = { version = "0.6", features = ["std"] }
|
2023-08-09 02:48:58 +08:00
|
|
|
sea-orm = { version = "0.12.2", features = [
|
2022-07-27 03:04:24 +08:00
|
|
|
"runtime-tokio-native-tls",
|
|
|
|
"macros",
|
|
|
|
], default-features = false }
|
2022-07-06 15:24:06 +08:00
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
|
|
|
thiserror = "1.0"
|
2022-07-27 03:04:24 +08:00
|
|
|
tokio = { version = "1.20", features = ["tracing"] }
|
2023-04-19 16:59:19 +08:00
|
|
|
totp-rs = { version = "5.0", features = ["otpauth"] }
|
2022-07-06 15:24:06 +08:00
|
|
|
tracing = "0.1"
|
2022-05-30 15:32:45 +08:00
|
|
|
tracing-core = "0.1"
|
2022-04-11 04:58:58 +08:00
|
|
|
url = "2.2"
|
2022-11-18 15:52:09 +08:00
|
|
|
uuid = { version = "1.2", features = ["v4", "serde"] }
|
2022-08-06 02:04:40 +08:00
|
|
|
warpgate-sso = { version = "*", path = "../warpgate-sso" }
|
2022-07-27 03:04:24 +08:00
|
|
|
rustls = { version = "0.20", features = ["dangerous_configuration"] }
|
|
|
|
rustls-pemfile = "1.0"
|
|
|
|
webpki = "0.22"
|