mirror of
https://github.com/rjNemo/rust-web
synced 2026-06-06 02:46:41 +00:00
chore
This commit is contained in:
parent
5bec1e8cc0
commit
07a9e021f3
3 changed files with 7 additions and 5 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue