2024-06-21 20:50:47 +02:00
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
"migrations",
|
|
|
|
"server",
|
|
|
|
"model",
|
|
|
|
]
|
|
|
|
|
2024-06-21 18:02:06 +02:00
|
|
|
[package]
|
2024-06-21 20:50:47 +02:00
|
|
|
name = "scct-cli"
|
2024-06-21 18:02:06 +02:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
2024-06-21 20:50:47 +02:00
|
|
|
[[bin]]
|
|
|
|
name = "scct"
|
|
|
|
path = "main.rs"
|
|
|
|
|
2024-06-21 18:02:06 +02:00
|
|
|
[dependencies]
|
2024-06-21 20:58:35 +02:00
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = "0.3"
|
|
|
|
clap = { version = "4.5", features = ["derive"] }
|
2024-08-12 19:44:38 +02:00
|
|
|
sea-orm = { version = "1.0", features = ["runtime-tokio-native-tls", "sqlx-mysql", "sqlx-sqlite", "sqlx-postgres"] }
|
2024-06-29 00:40:19 +02:00
|
|
|
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 }
|
2024-08-12 19:44:38 +02:00
|
|
|
chrono = "0.4.38"
|
2024-06-21 20:50:47 +02:00
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["server", "migrations"]
|
|
|
|
migrations = ["dep:scct-migrations"]
|
|
|
|
server = ["dep:scct-server"]
|