chore: add server placeholder

This commit is contained in:
əlemi 2024-06-21 20:51:33 +02:00
parent be0114601e
commit 8ac952c460
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 14 additions and 0 deletions

10
server/Cargo.toml Normal file
View file

@ -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"

4
server/src/lib.rs Normal file
View file

@ -0,0 +1,4 @@
pub async fn serve(addr: &str) -> Result<(), Box<dyn std::error::Error>> {
todo!()
}