cargo fix
This commit is contained in:
+4
-5
@@ -5,7 +5,7 @@ extern crate rocket;
|
||||
#[macro_use]
|
||||
extern crate serde;
|
||||
|
||||
use serde_json::{json, Number, Value};
|
||||
use serde_json::Value;
|
||||
|
||||
//use rocket::request::FromSegments;
|
||||
//use rocket::http::uri::Segments;
|
||||
@@ -19,12 +19,11 @@ use crate::store::model::FieldKind;
|
||||
use crate::store::Store;
|
||||
use indexmap::map::IndexMap;
|
||||
use parking_lot::RwLock;
|
||||
use rocket::http::Status;
|
||||
use rocket::request::{Form, FormItems, FromForm, LenientForm};
|
||||
|
||||
use rocket::request::{Form, FormItems, FromForm};
|
||||
use rocket::response::Redirect;
|
||||
use rocket::{Data, State};
|
||||
use rocket::State;
|
||||
use std::env;
|
||||
use std::ops::Deref;
|
||||
|
||||
#[derive(Serialize, Debug)]
|
||||
pub struct ListContext<'a> {
|
||||
|
||||
+1
-2
@@ -1,11 +1,10 @@
|
||||
use crate::store::model::Model;
|
||||
use indexmap::map::IndexMap;
|
||||
use rocket::request::FromForm;
|
||||
use serde::Serialize;
|
||||
use serde_json::Value;
|
||||
use std::collections::HashMap;
|
||||
use std::fs::{File, OpenOptions};
|
||||
use std::io::{Error, Read, Write};
|
||||
use std::io::{Read, Write};
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
pub mod form;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
use indexmap::map::IndexMap;
|
||||
use std::collections::HashMap;
|
||||
|
||||
/// A data card's model.
|
||||
/// Cards of one model can be sorted, searched and filtered by their fields.
|
||||
|
||||
Reference in New Issue
Block a user