34 lines
965 B
TOML
34 lines
965 B
TOML
[package]
|
|
name = "ox_speak_server"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
# The `_lib` suffix may seem redundant but it is necessary
|
|
# to make the lib name unique and wouldn't conflict with the bin name.
|
|
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
|
|
name = "ox_speak_server_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[profile.release]
|
|
debug = true
|
|
|
|
[dependencies]
|
|
log = "0.4"
|
|
env_logger = "0.11"
|
|
tokio = { version = "1.47", features = ["full"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
arc-swap = "1.7"
|
|
dotenvy = "0.15"
|
|
envy = "0.4"
|
|
socket2 = "0.6"
|
|
parking_lot = "0.12"
|
|
axum = "0.8"
|
|
tower = "0.5"
|
|
tower-http = "0.6"
|
|
hyper = "1.7"
|
|
|
|
sqlx = { version = "0.8", features = ["runtime-tokio", "tls-rustls", "sqlite", "postgres", "mysql", "uuid", "chrono", "migrate"] }
|
|
uuid = { version = "1.18", features = ["v4", "v7", "serde"] }
|
|
chrono = { version = "0.4", features = ["serde"] } |