backend/Cargo.toml

31 lines
686 B
TOML

[workspace]
members = [
"migrations",
"server",
"model",
]
[package]
name = "scct-cli"
version = "0.1.0"
edition = "2021"
[[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"] }
scct-migrations = { path = "migrations", optional = true }
scct-server = { path = "server", optional = true }
chrono = "0.4.38"
[features]
default = ["server", "migrations"]
migrations = ["dep:scct-migrations"]
server = ["dep:scct-server"]