Some minor restructuring and improvements
This commit is contained in:
7
common/Cargo.toml
Normal file
7
common/Cargo.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
[package]
|
||||
name = "common"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
4
common/src/lib.rs
Normal file
4
common/src/lib.rs
Normal file
@@ -0,0 +1,4 @@
|
||||
#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
|
||||
pub struct BaseDemoInfo {
|
||||
pub id: i64,
|
||||
}
|
||||
Reference in New Issue
Block a user