[workspace] members = [ "migrations", "server", "model", ] [package] name = "scct-cli" version = "0.1.0" edition = "2021" [[bin]] name = "scct" path = "main.rs" [dependencies] tracing-subscriber = "0.3.18" clap = { version = "4.5.7", features = ["derive"] } # TODO can we move tokio and sea-orm inside individual crates? tokio = { version = "1.38.0", features = ["full"] } 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 } tracing = "0.1.40" [features] default = ["server", "migrations"] migrations = ["dep:scct-migrations"] server = ["dep:scct-server"]