move lib, server and client to separate packages
This commit is contained in:
1
zoidberg_lib/src/lib.rs
Normal file
1
zoidberg_lib/src/lib.rs
Normal file
@@ -0,0 +1 @@
|
||||
pub mod types;
|
||||
7
zoidberg_lib/src/types.rs
Normal file
7
zoidberg_lib/src/types.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Serialize, Deserialize)]
|
||||
pub struct Update {
|
||||
pub id: i64,
|
||||
pub status: String,
|
||||
}
|
||||
Reference in New Issue
Block a user