SUB MODULES

This commit is contained in:
LinlyBoi
2022-12-22 14:22:12 +02:00
commit b67c3c073d
9 changed files with 1911 additions and 0 deletions

10
common/Cargo.toml Normal file
View File

@@ -0,0 +1,10 @@
[package]
name = "common"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde_json = "1.0.81"
serde = { version = "1.0.37", features = ["derive"]}

9
common/src/lib.rs Normal file
View File

@@ -0,0 +1,9 @@
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize, PartialEq, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct CommonTicket {
pub id: i32,
pub category: String,
pub description: String,
}