feat: ✨ base project structure
This commit is contained in:
parent
e2043f1009
commit
1567a9c32a
15 changed files with 5568 additions and 1 deletions
11
server/Cargo.toml
Normal file
11
server/Cargo.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
[package]
|
||||
name = "server"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
protocol = { path = "../protocol" }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
chrono = { workspace = true }
|
||||
tokio = { workspace = true }
|
4
server/src/lib.rs
Normal file
4
server/src/lib.rs
Normal file
|
@ -0,0 +1,4 @@
|
|||
#[derive(Debug)]
|
||||
struct ServerConfig {
|
||||
server_address: String,
|
||||
}
|
4
server/src/main.rs
Normal file
4
server/src/main.rs
Normal file
|
@ -0,0 +1,4 @@
|
|||
#[tokio::main]
|
||||
async fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue