diff --git a/server/Cargo.toml b/server/Cargo.toml new file mode 100644 index 0000000..8ab6c3e --- /dev/null +++ b/server/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "scct-server" +version = "0.1.0" +edition = "2021" + +[lib] + +[dependencies] +sea-orm = { version = "0.12.15", features = ["runtime-tokio-rustls", "sqlx-mysql", "sqlx-sqlite", "sqlx-postgres"] } +tracing = "0.1.40" diff --git a/server/src/lib.rs b/server/src/lib.rs new file mode 100644 index 0000000..3bfcba0 --- /dev/null +++ b/server/src/lib.rs @@ -0,0 +1,4 @@ + +pub async fn serve(addr: &str) -> Result<(), Box> { + todo!() +}