backend/Cargo.toml

33 lines
740 B
TOML
Raw Normal View History

2024-06-21 20:50:47 +02:00
[workspace]
members = [
"migrations",
"server",
"model",
]
[package]
2024-06-21 20:50:47 +02:00
name = "scct-cli"
version = "0.1.0"
edition = "2021"
2024-06-21 20:50:47 +02:00
[[bin]]
name = "scct"
path = "main.rs"
[dependencies]
2024-06-21 20:50:47 +02:00
tracing-subscriber = "0.3.18"
2024-06-21 18:10:49 +02:00
clap = { version = "4.5.7", features = ["derive"] }
2024-06-21 20:50:47 +02:00
# TODO can we move tokio and sea-orm inside individual crates?
2024-06-21 18:10:49 +02:00
tokio = { version = "1.38.0", features = ["full"] }
2024-06-21 20:50:47 +02:00
sea-orm = { version = "0.12.15", features = ["runtime-tokio-rustls", "sqlx-mysql", "sqlx-sqlite", "sqlx-postgres"] }
scct-migrations = { path = "migrations", optional = true }
scct-server = { path = "server", optional = true }
2024-06-21 18:10:49 +02:00
tracing = "0.1.40"
2024-06-21 20:50:47 +02:00
[features]
default = ["server", "migrations"]
migrations = ["dep:scct-migrations"]
server = ["dep:scct-server"]