backend/Cargo.toml

32 lines
686 B
TOML
Raw Permalink 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]
tracing = "0.1"
tracing-subscriber = "0.3"
clap = { version = "4.5", features = ["derive"] }
sea-orm = { version = "1.0", features = ["runtime-tokio-native-tls", "sqlx-mysql", "sqlx-sqlite", "sqlx-postgres"] }
tokio = { version = "1.38.0", features = ["full"] }
2024-06-21 20:50:47 +02:00
scct-migrations = { path = "migrations", optional = true }
scct-server = { path = "server", optional = true }
chrono = "0.4.38"
2024-06-21 20:50:47 +02:00
[features]
default = ["server", "migrations"]
migrations = ["dep:scct-migrations"]
server = ["dep:scct-server"]