Refactor(Tauri) Rust 2018 (#39)

* update to 2018

* update to 2018

* update to 2018

* revert changes

* refactor templates
This commit is contained in:
Tensor-Programming 2019-10-07 07:15:33 -04:00 committed by nothingismagick
parent d4aec4bbd5
commit d18a0e43ac
7 changed files with 3 additions and 14 deletions

View File

@ -6,7 +6,7 @@ use_small_heuristics = "Default"
reorder_imports = true
reorder_modules = true
remove_nested_parens = true
edition = "2015"
edition = "2018"
merge_derives = true
use_try_shorthand = false
use_field_init_shorthand = false

View File

@ -1,5 +1,3 @@
extern crate includedir_codegen;
use includedir_codegen::Compression;
use std::env;

View File

@ -6,7 +6,7 @@ use_small_heuristics = "Default"
reorder_imports = true
reorder_modules = true
remove_nested_parens = true
edition = "2015"
edition = "2018"
merge_derives = true
use_try_shorthand = false
use_field_init_shorthand = false

View File

@ -7,9 +7,6 @@ mod macros;
#[macro_use]
extern crate lazy_static;
extern crate includedir;
extern crate phf;
pub mod api;
mod app;
pub mod command;

View File

@ -6,7 +6,7 @@ use_small_heuristics = "Default"
reorder_imports = true
reorder_modules = true
remove_nested_parens = true
edition = "2015"
edition = "2018"
merge_derives = true
use_try_shorthand = false
use_field_init_shorthand = false

View File

@ -1,7 +1,5 @@
mod cmd;
extern crate tauri;
#[macro_use]
extern crate serde_derive;

View File

@ -1,7 +1,3 @@
extern crate tauri;
extern crate serde_derive;
extern crate serde_json;
use crate::tauri::process::{ProcessExt, Signal, SystemExt};
fn update() -> Result<(), String> {