This commit is contained in:
Ruidy 2021-09-16 20:00:15 +02:00
parent 5bec1e8cc0
commit 07a9e021f3
3 changed files with 7 additions and 5 deletions

View file

@ -1,7 +1,7 @@
[package] [package]
name = "web" name = "web"
version = "0.1.0" version = "0.1.0"
authors = ["Ruidy <r.nemausat@empfohlen.de>"] authors = ["Ruidy <ruidy.nemausat@gmail.com>"]
edition = "2018" edition = "2018"
# 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

View file

@ -1,4 +1,5 @@
pub mod types;
pub use types::*;
pub mod routes;
pub use routes::init; pub use routes::init;
pub use types::*;
pub mod routes;
pub mod types;

View file

@ -1,6 +1,7 @@
use serde::{Deserialize, Serialize};
use std::sync::Mutex; use std::sync::Mutex;
use serde::{Deserialize, Serialize};
/// Task model /// Task model
#[derive(Serialize, Deserialize)] #[derive(Serialize, Deserialize)]
pub struct Task { pub struct Task {