chore: add server placeholder
This commit is contained in:
parent
be0114601e
commit
8ac952c460
2 changed files with 14 additions and 0 deletions
10
server/Cargo.toml
Normal file
10
server/Cargo.toml
Normal 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
4
server/src/lib.rs
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
pub async fn serve(addr: &str) -> Result<(), Box<dyn std::error::Error>> {
|
||||||
|
todo!()
|
||||||
|
}
|
Loading…
Reference in a new issue