Have everything in one binary again.
This commit is contained in:
@@ -5,14 +5,6 @@ edition = "2021"
|
|||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "server"
|
|
||||||
path = "src/server-main.rs"
|
|
||||||
|
|
||||||
[[bin]]
|
|
||||||
name = "client"
|
|
||||||
path = "src/client-main.rs"
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
futures-util = "0.3.24"
|
futures-util = "0.3.24"
|
||||||
itertools = "0.10.5"
|
itertools = "0.10.5"
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
|
|
||||||
extern crate mize;
|
|
||||||
|
|
||||||
fn main(){
|
|
||||||
println!("hello");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@@ -93,6 +93,7 @@ impl itemstore {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub async fn delete(&self, id: u64){
|
pub async fn delete(&self, id: u64){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn get(&self, id: u64) -> Item {
|
pub async fn get(&self, id: u64) -> Item {
|
||||||
|
|||||||
Reference in New Issue
Block a user