Feat(Errors) add error handling (#274)

* update .gitignore

* remove cargo.lock

* minor cleanup.
This commit is contained in:
Tensor-Programming 2020-01-01 16:21:06 -05:00 committed by GitHub
parent aa149370a4
commit 968cc9c94c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,7 @@
mod runner;
use web_view::WebView;
mod runner;
//type FnMut(&mut InvokeHandler<WebView<'_, ()>>, &str) = FnMut(&mut FnMut(&mut InvokeHandler<WebView<'_, ()>>, &str)<WebView<'_, ()>>, &str);
pub struct App {

View File

@ -3,10 +3,10 @@ use std::{fs::read_to_string, path::Path, process::Stdio, thread::spawn};
use web_view::{builder, Content, WebView};
use super::App;
use crate::config::{get, Config};
#[cfg(feature = "embedded-server")]
use crate::tcp::{get_available_port, port_is_available};
use crate::App;
use crate::TauriResult;
// JavaScript string literal

View File

@ -20,17 +20,16 @@ mod salt;
#[cfg(feature = "embedded-server")]
mod tcp;
mod app;
#[cfg(not(feature = "dev-server"))]
pub mod assets;
mod app;
use std::process::Stdio;
use threadpool::ThreadPool;
pub use app::*;
use web_view::*;
use web_view::WebView;
pub use tauri_api as api;