mirror of
https://github.com/warp-tech/warpgate.git
synced 2024-11-15 12:31:55 +08:00
55 lines
1.5 KiB
TOML
55 lines
1.5 KiB
TOML
[package]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
name = "warpgate-core"
|
|
version = "0.10.2"
|
|
|
|
[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"
|
|
chrono = { version = "0.4", default-features = false, features = ["serde"] }
|
|
data-encoding = "2.3"
|
|
humantime-serde = "1.1"
|
|
futures = "0.3"
|
|
once_cell = "1.17"
|
|
packet = "0.1"
|
|
password-hash = "0.4"
|
|
poem = { version = "3.1", features = ["rustls"] }
|
|
poem-openapi = { version = "5.1", features = [
|
|
"swagger-ui",
|
|
"chrono",
|
|
"uuid",
|
|
"static-files",
|
|
] }
|
|
rand = "0.8"
|
|
rand_chacha = "0.3"
|
|
rand_core = { version = "0.6", features = ["std"] }
|
|
sea-orm = { version = "0.12", features = [
|
|
"runtime-tokio-rustls",
|
|
"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"] }
|
|
tracing = "0.1"
|
|
tracing-core = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
url = "2.2"
|
|
uuid = { version = "1.3", features = ["v4", "serde"] }
|
|
warpgate-sso = { version = "*", path = "../warpgate-sso" }
|
|
rustls = { version = "0.23", features = ["logging"], default-features = false }
|
|
rustls-pemfile = "1.0"
|
|
webpki = "0.22"
|
|
|
|
[features]
|
|
postgres = ["sea-orm/sqlx-postgres"]
|
|
mysql = ["sea-orm/sqlx-mysql"]
|
|
sqlite = ["sea-orm/sqlx-sqlite"]
|