backend/Cargo.toml

30 lines
669 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 = "0.12", 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 }
[features]
default = ["server", "migrations"]
migrations = ["dep:scct-migrations"]
server = ["dep:scct-server"]