warpgate/warpgate-core/Cargo.toml

56 lines
1.5 KiB
TOML
Raw Normal View History

2022-09-02 20:00:08 +08:00
[package]
edition = "2021"
license = "Apache-2.0"
name = "warpgate-core"
2024-08-15 04:59:52 +08:00
version = "0.10.2"
2022-09-02 20:00:08 +08:00
[dependencies]
warpgate-common = { version = "*", path = "../warpgate-common" }
warpgate-db-entities = { version = "*", path = "../warpgate-db-entities" }
warpgate-db-migrations = { version = "*", path = "../warpgate-db-migrations" }
anyhow = "1.0"
argon2 = "0.4"
async-trait = "0.1"
bytes = "1.3"
2024-07-16 16:40:20 +08:00
chrono = { version = "0.4", default-features = false, features = ["serde"] }
2022-09-02 20:00:08 +08:00
data-encoding = "2.3"
humantime-serde = "1.1"
futures = "0.3"
once_cell = "1.17"
2022-09-02 20:00:08 +08:00
packet = "0.1"
password-hash = "0.4"
2024-09-18 17:28:39 +08:00
poem = { version = "3.1", features = ["rustls"] }
poem-openapi = { version = "5.1", features = [
2022-09-02 20:00:08 +08:00
"swagger-ui",
"chrono",
"uuid",
"static-files",
] }
rand = "0.8"
rand_chacha = "0.3"
rand_core = { version = "0.6", features = ["std"] }
2024-09-18 17:28:39 +08:00
sea-orm = { version = "0.12", features = [
2024-07-16 18:56:42 +08:00
"runtime-tokio-rustls",
2022-09-02 20:00:08 +08:00
"macros",
], default-features = false }
serde = "1.0"
serde_json = "1.0"
thiserror = "1.0"
tokio = { version = "1.20", features = ["tracing"] }
totp-rs = { version = "5.0", features = ["otpauth"] }
2022-09-02 20:00:08 +08:00
tracing = "0.1"
tracing-core = "0.1"
tracing-subscriber = "0.3"
url = "2.2"
2024-09-18 17:28:39 +08:00
uuid = { version = "1.3", features = ["v4", "serde"] }
2022-09-02 20:00:08 +08:00
warpgate-sso = { version = "*", path = "../warpgate-sso" }
2024-09-18 17:28:39 +08:00
rustls = { version = "0.23", features = ["logging"], default-features = false }
2022-09-02 20:00:08 +08:00
rustls-pemfile = "1.0"
webpki = "0.22"
[features]
postgres = ["sea-orm/sqlx-postgres"]
mysql = ["sea-orm/sqlx-mysql"]
sqlite = ["sea-orm/sqlx-sqlite"]