mirror of https://github.com/tauri-apps/tauri
chore(deps) Update Tauri CLI (dev) (#10308)
* chore(deps) Update Tauri CLI * fix build --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
parent
f228d3d3d4
commit
20be073bc4
File diff suppressed because it is too large
Load Diff
|
@ -40,10 +40,10 @@ path = "src/main.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cargo-mobile2 = { version = "0.13.1", default-features = false }
|
cargo-mobile2 = { version = "0.13.1", default-features = false }
|
||||||
jsonrpsee = { version = "0.22", features = [ "server" ] }
|
jsonrpsee = { version = "0.24", features = [ "server" ] }
|
||||||
jsonrpsee-core = "0.22"
|
jsonrpsee-core = "0.24"
|
||||||
jsonrpsee-client-transport = { version = "0.22", features = [ "ws" ] }
|
jsonrpsee-client-transport = { version = "0.24", features = [ "ws" ] }
|
||||||
jsonrpsee-ws-client = { version = "0.22", default-features = false }
|
jsonrpsee-ws-client = { version = "0.24", default-features = false }
|
||||||
sublime_fuzzy = "0.7"
|
sublime_fuzzy = "0.7"
|
||||||
clap_complete = "4"
|
clap_complete = "4"
|
||||||
clap = { version = "4.5", features = [ "derive", "env" ] }
|
clap = { version = "4.5", features = [ "derive", "env" ] }
|
||||||
|
@ -61,7 +61,7 @@ json-patch = "2.0"
|
||||||
tauri-utils = { version = "2.0.0-rc.2", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
|
tauri-utils = { version = "2.0.0-rc.2", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
|
||||||
tauri-utils-v1 = { version = "1", package = "tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
|
tauri-utils-v1 = { version = "1", package = "tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] }
|
||||||
toml = "0.8"
|
toml = "0.8"
|
||||||
jsonschema = "0.17"
|
jsonschema = "0.18"
|
||||||
handlebars = "6.0"
|
handlebars = "6.0"
|
||||||
include_dir = "0.7"
|
include_dir = "0.7"
|
||||||
minisign = "=0.7.3"
|
minisign = "=0.7.3"
|
||||||
|
@ -79,23 +79,23 @@ ctrlc = "3.4"
|
||||||
log = { version = "0.4.21", features = [ "kv", "kv_std" ] }
|
log = { version = "0.4.21", features = [ "kv", "kv_std" ] }
|
||||||
env_logger = "0.11.3"
|
env_logger = "0.11.3"
|
||||||
icns = { package = "tauri-icns", version = "0.1" }
|
icns = { package = "tauri-icns", version = "0.1" }
|
||||||
image = { version = "0.24", default-features = false, features = [ "ico" ] }
|
image = { version = "0.25", default-features = false, features = [ "ico" ] }
|
||||||
axum = { version = "0.7.4", features = [ "ws" ] }
|
axum = { version = "0.7.4", features = [ "ws" ] }
|
||||||
html5ever = "0.26"
|
html5ever = "0.26"
|
||||||
kuchiki = { package = "kuchikiki", version = "0.8" }
|
kuchiki = { package = "kuchikiki", version = "0.8" }
|
||||||
tokio = { version = "1", features = [ "macros", "sync" ] }
|
tokio = { version = "1", features = [ "macros", "sync" ] }
|
||||||
common-path = "1"
|
common-path = "1"
|
||||||
serde-value = "0.7.0"
|
serde-value = "0.7.0"
|
||||||
itertools = "0.12"
|
itertools = "0.13"
|
||||||
local-ip-address = "0.6"
|
local-ip-address = "0.6"
|
||||||
css-color = "0.2"
|
css-color = "0.2"
|
||||||
resvg = "0.42.0"
|
resvg = "0.42.0"
|
||||||
dunce = "1"
|
dunce = "1"
|
||||||
glob = "0.3"
|
glob = "0.3"
|
||||||
oxc_parser = "0.16"
|
oxc_parser = "0.20"
|
||||||
oxc_span = "0.16"
|
oxc_span = "0.20"
|
||||||
oxc_allocator = "0.16"
|
oxc_allocator = "0.20"
|
||||||
oxc_ast = "0.16"
|
oxc_ast = "0.20"
|
||||||
magic_string = "0.3"
|
magic_string = "0.3"
|
||||||
phf = { version = "0.11", features = ["macros"] }
|
phf = { version = "0.11", features = ["macros"] }
|
||||||
walkdir = "2"
|
walkdir = "2"
|
||||||
|
|
|
@ -22,7 +22,7 @@ use image::{
|
||||||
png::{CompressionType, FilterType as PngFilterType, PngEncoder},
|
png::{CompressionType, FilterType as PngFilterType, PngEncoder},
|
||||||
},
|
},
|
||||||
imageops::FilterType,
|
imageops::FilterType,
|
||||||
open, ColorType, DynamicImage, ImageBuffer, ImageEncoder, Rgba,
|
open, DynamicImage, ExtendedColorType, ImageBuffer, ImageEncoder, Rgba,
|
||||||
};
|
};
|
||||||
use resvg::{tiny_skia, usvg};
|
use resvg::{tiny_skia, usvg};
|
||||||
use serde::Deserialize;
|
use serde::Deserialize;
|
||||||
|
@ -243,13 +243,18 @@ fn ico(source: &Source, out_dir: &Path) -> Result<()> {
|
||||||
|
|
||||||
write_png(image.as_bytes(), &mut buf, size)?;
|
write_png(image.as_bytes(), &mut buf, size)?;
|
||||||
|
|
||||||
frames.push(IcoFrame::with_encoded(buf, size, size, ColorType::Rgba8)?)
|
frames.push(IcoFrame::with_encoded(
|
||||||
|
buf,
|
||||||
|
size,
|
||||||
|
size,
|
||||||
|
ExtendedColorType::Rgba8,
|
||||||
|
)?)
|
||||||
} else {
|
} else {
|
||||||
frames.push(IcoFrame::as_png(
|
frames.push(IcoFrame::as_png(
|
||||||
image.as_bytes(),
|
image.as_bytes(),
|
||||||
size,
|
size,
|
||||||
size,
|
size,
|
||||||
ColorType::Rgba8,
|
ExtendedColorType::Rgba8,
|
||||||
)?);
|
)?);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -485,6 +490,6 @@ fn resize_and_save_png(
|
||||||
// Encode image data as png with compression.
|
// Encode image data as png with compression.
|
||||||
fn write_png<W: Write>(image_data: &[u8], w: W, size: u32) -> Result<()> {
|
fn write_png<W: Write>(image_data: &[u8], w: W, size: u32) -> Result<()> {
|
||||||
let encoder = PngEncoder::new_with_quality(w, CompressionType::Best, PngFilterType::Adaptive);
|
let encoder = PngEncoder::new_with_quality(w, CompressionType::Best, PngFilterType::Adaptive);
|
||||||
encoder.write_image(image_data, size, size, ColorType::Rgba8)?;
|
encoder.write_image(image_data, size, size, ExtendedColorType::Rgba8)?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
|
@ -191,7 +191,7 @@ pub fn write_options(identifier: &str, mut options: CliOptions) -> crate::Result
|
||||||
let addr = server.local_addr()?;
|
let addr = server.local_addr()?;
|
||||||
|
|
||||||
let mut module = RpcModule::new(());
|
let mut module = RpcModule::new(());
|
||||||
module.register_method("options", move |_, _| Some(options.clone()))?;
|
module.register_method("options", move |_, _, _| Some(options.clone()))?;
|
||||||
|
|
||||||
let handle = server.start(module);
|
let handle = server.start(module);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue