mirror of https://github.com/tauri-apps/tauri
Updater feature flag (#154)
* add updater feature to remove reqwest * fix(EOF): add newline character
This commit is contained in:
parent
33932b2606
commit
aeb133f5fd
|
@ -18,8 +18,6 @@ ignore = "0.4.10"
|
|||
phf = "0.7.24"
|
||||
threadpool = "1.7"
|
||||
rand = "0.7"
|
||||
reqwest = "0.9"
|
||||
pbr = "1"
|
||||
zip = "0.5.3"
|
||||
tempdir = "0.3"
|
||||
semver = "0.9"
|
||||
|
@ -27,7 +25,6 @@ tempfile = "3"
|
|||
either = "1.5.3"
|
||||
tar = "0.4"
|
||||
flate2 = "1"
|
||||
hyper-old-types = "0.11.0"
|
||||
sysinfo = "0.10"
|
||||
webbrowser = "0.5.2"
|
||||
uuid = { version = "0.8.1", features = ["v4"] }
|
||||
|
@ -36,6 +33,10 @@ includedir = "0.5.0"
|
|||
tiny_http = "0.6"
|
||||
clap = {version = "2.33", features = ["yaml"]}
|
||||
|
||||
reqwest = {version = "0.9", optional = true }
|
||||
hyper-old-types = {version = "0.11.0", optional = true }
|
||||
pbr = {version = "1", optional = true }
|
||||
|
||||
[build-dependencies]
|
||||
includedir_codegen = "0.5.0"
|
||||
|
||||
|
@ -53,3 +54,4 @@ setTitle = []
|
|||
execute = []
|
||||
open = []
|
||||
emit = []
|
||||
updater = []
|
||||
|
|
|
@ -17,6 +17,7 @@ pub mod dir;
|
|||
pub mod event;
|
||||
pub mod file;
|
||||
pub mod file_system;
|
||||
#[cfg(feature = "updater")]
|
||||
pub mod http;
|
||||
pub mod platform;
|
||||
pub mod process;
|
||||
|
@ -25,7 +26,9 @@ pub mod salt;
|
|||
#[cfg(feature = "embedded-server")]
|
||||
pub mod server;
|
||||
pub mod tcp;
|
||||
#[cfg(feature = "updater")]
|
||||
pub mod updater;
|
||||
|
||||
pub mod version;
|
||||
pub use app::*;
|
||||
|
||||
|
|
Loading…
Reference in New Issue