38 lines
1.0 KiB
TOML
38 lines
1.0 KiB
TOML
|
|
[package]
|
||
|
|
name = "api"
|
||
|
|
version = "0.1.0"
|
||
|
|
edition = "2024"
|
||
|
|
|
||
|
|
[dependencies]
|
||
|
|
bytes = { version = "1.10.1", features = ["serde"] }
|
||
|
|
rand = { version = "0.9", optional = true }
|
||
|
|
serde = { workspace = true, features = ["derive"] }
|
||
|
|
uuid = { workspace = true, features = ["serde", "v4"] }
|
||
|
|
thiserror = { workspace = true }
|
||
|
|
chrono = { workspace = true, features = ["serde"] }
|
||
|
|
sqlx = { workspace = true, optional = true }
|
||
|
|
axum = { workspace = true, optional = true, features = ["macros"] }
|
||
|
|
axum-extra = { workspace = true, optional = true, features = ["typed-header"] }
|
||
|
|
argon2 = { workspace = true, optional = true }
|
||
|
|
ciborium = { workspace = true }
|
||
|
|
async-trait = { workspace = true, optional = true }
|
||
|
|
werewolves-proto = { workspace = true }
|
||
|
|
serde_json = { workspace = true, optional = true }
|
||
|
|
futures = { workspace = true, optional = true }
|
||
|
|
|
||
|
|
log.workspace = true
|
||
|
|
leptos.workspace = true
|
||
|
|
anyhow.workspace = true
|
||
|
|
|
||
|
|
[features]
|
||
|
|
ssr = [
|
||
|
|
"dep:sqlx",
|
||
|
|
"dep:axum",
|
||
|
|
"dep:axum-extra",
|
||
|
|
"dep:argon2",
|
||
|
|
"dep:rand",
|
||
|
|
"dep:async-trait",
|
||
|
|
"dep:serde_json",
|
||
|
|
"dep:futures",
|
||
|
|
]
|