Skip to content

Commit

Permalink
chore(deps) Update Tauri CLI (1.x) (#8051)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
  • Loading branch information
renovate[bot] and lucasfernog authored Oct 20, 2023
1 parent 10da703 commit 5f75ebb
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 28 deletions.
20 changes: 11 additions & 9 deletions tooling/cli/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions tooling/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,33 +40,33 @@ path = "src/main.rs"

[dependencies]
clap_complete = "4"
clap = { version = "4.3", features = [ "derive" ] }
clap = { version = "4.4", features = [ "derive" ] }
anyhow = "1.0"
tauri-bundler = { version = "1.4.4", path = "../bundler", default-features = false }
colored = "2.0"
once_cell = "1"
serde = { version = "1.0", features = [ "derive" ] }
serde_json = "1.0"
notify = "6.0"
notify-debouncer-mini = "0.3"
notify = "6.1"
notify-debouncer-mini = "0.4"
shared_child = "1.0"
toml_edit = "0.19"
json-patch = "1.0"
toml_edit = "0.20"
json-patch = "1.2"
tauri-utils = { version = "1.5.0", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
toml = "0.7"
toml = "0.8"
jsonschema = "0.17"
handlebars = "4.3"
handlebars = "4.4"
include_dir = "0.7"
minisign = "=0.7.5"
base64 = "0.21.2"
ureq = { version = "2.7", default-features = false, features = [ "gzip" ] }
base64 = "0.21.4"
ureq = { version = "2.8", default-features = false, features = [ "gzip" ] }
os_info = "3"
semver = "1.0"
regex = "1.9.3"
regex = "1.10.2"
unicode-width = "0.1"
zeroize = "1.6"
heck = { version = "0.4", features = [ "unicode" ] }
dialoguer = "0.10"
dialoguer = "0.11"
url = { version = "2.4", features = [ "serde" ] }
os_pipe = "1"
ignore = "0.4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ icon = [
tauri-build = { path = "../../../../../../../../core/tauri-build", features = [] }

[dependencies]
serde_json = "1.0.105"
serde_json = "1.0.107"
serde = "1.0"
serde_derive = "1.0"
tauri = { path = "../../../../../../../../core/tauri", features = ["api-all"] }
Expand Down
2 changes: 1 addition & 1 deletion tooling/cli/src/helpers/web_dev_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub fn start_dev_server<P: AsRef<Path>>(path: P, port: Option<u16>) -> crate::Re
let serve_dir_ = serve_dir.clone();
thread::spawn(move || {
let (tx, rx) = sync_channel(1);
let mut watcher = new_debouncer(Duration::from_secs(1), None, move |r| {
let mut watcher = new_debouncer(Duration::from_secs(1), move |r| {
if let Ok(events) = r {
tx.send(events).unwrap()
}
Expand Down
8 changes: 4 additions & 4 deletions tooling/cli/src/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,12 +294,12 @@ where
Ok(initial)
} else {
let theme = dialoguer::theme::ColorfulTheme::default();
let mut builder = Input::with_theme(&theme);
builder.with_prompt(prompt);
builder.allow_empty(allow_empty);
let mut builder = Input::with_theme(&theme)
.with_prompt(prompt)
.allow_empty(allow_empty);

if let Some(v) = initial {
builder.with_initial_text(v.to_string());
builder = builder.with_initial_text(v.to_string());
}

builder.interact_text().map(Some).map_err(Into::into)
Expand Down
4 changes: 2 additions & 2 deletions tooling/cli/src/interface/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ impl Interface for Rust {
fn new(config: &Config, target: Option<String>) -> crate::Result<Self> {
let manifest = {
let (tx, rx) = sync_channel(1);
let mut watcher = new_debouncer(Duration::from_secs(1), None, move |r| {
let mut watcher = new_debouncer(Duration::from_secs(1), move |r| {
if let Ok(events) = r {
let _ = tx.send(events);
}
Expand Down Expand Up @@ -424,7 +424,7 @@ impl Rust {
let common_ancestor = common_path::common_path_all(watch_folders.clone()).unwrap();
let ignore_matcher = build_ignore_matcher(&common_ancestor);

let mut watcher = new_debouncer(Duration::from_secs(1), None, move |r| {
let mut watcher = new_debouncer(Duration::from_secs(1), move |r| {
if let Ok(events) = r {
tx.send(events).unwrap()
}
Expand Down

0 comments on commit 5f75ebb

Please sign in to comment.