mirror of https://github.com/tauri-apps/tauri
Refactor(Tauri) Rust 2018 (#39)
* update to 2018 * update to 2018 * update to 2018 * revert changes * refactor templates
This commit is contained in:
parent
d4aec4bbd5
commit
d18a0e43ac
|
@ -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
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
extern crate includedir_codegen;
|
||||
|
||||
use includedir_codegen::Compression;
|
||||
use std::env;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
mod cmd;
|
||||
|
||||
extern crate tauri;
|
||||
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
|
|
|
@ -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> {
|
||||
|
|
Loading…
Reference in New Issue