b49699175d
CI / web (push) Has been cancelled
The binary now reads a .env file itself (dotenvy::dotenv() at the top of main), so 'cargo run -p server' / the release binary pick up config without relying on just's 'set dotenv-load'. Missing .env is a no-op. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
47 lines
967 B
TOML
47 lines
967 B
TOML
[package]
|
|
name = "server"
|
|
version = "0.0.0"
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "server"
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
embed-web = ["dep:memory-serve"]
|
|
|
|
[dependencies]
|
|
tokio.workspace = true
|
|
axum.workspace = true
|
|
clap.workspace = true
|
|
anyhow.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
api = { path = "../api" }
|
|
auth = { path = "../auth" }
|
|
db = { path = "../db" }
|
|
domain = { path = "../domain" }
|
|
search = { path = "../search" }
|
|
rpassword.workspace = true
|
|
dotenvy.workspace = true
|
|
memory-serve = { workspace = true, optional = true }
|
|
|
|
[build-dependencies]
|
|
memory-serve = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
reqwest.workspace = true
|
|
serde_json.workspace = true
|
|
tower.workspace = true
|
|
http-body-util.workspace = true
|
|
api = { path = "../api" }
|
|
auth = { path = "../auth" }
|
|
db = { path = "../db" }
|
|
domain = { path = "../domain" }
|
|
sqlx.workspace = true
|
|
temp-env = "0.3"
|