From 4e26422f3e5dad21fc9369bc1fef2fbdb784265b Mon Sep 17 00:00:00 2001 From: Kaur Kuut Date: Fri, 25 Oct 2024 14:18:26 +0300 Subject: [PATCH] Update SemVer compatible dependencies. --- druid-derive/Cargo.toml | 4 ++-- druid-shell/Cargo.toml | 32 ++++++++++++++--------------- druid/Cargo.toml | 24 +++++++++++----------- druid/examples/hello_web/Cargo.toml | 2 +- druid/examples/web/Cargo.toml | 8 ++++---- 5 files changed, 35 insertions(+), 35 deletions(-) diff --git a/druid-derive/Cargo.toml b/druid-derive/Cargo.toml index b4aa2fe30..56b59c3ba 100644 --- a/druid-derive/Cargo.toml +++ b/druid-derive/Cargo.toml @@ -16,8 +16,8 @@ default-target = "x86_64-pc-windows-msvc" [dependencies] syn = { version = "1.0.109", features = ["extra-traits"] } -quote = "1.0.26" -proc-macro2 = "1.0.56" +quote = "1.0.37" +proc-macro2 = "1.0.89" [dev-dependencies] druid = { version = "0.8.3", path = "../druid" } diff --git a/druid-shell/Cargo.toml b/druid-shell/Cargo.toml index 43846647e..481a5c491 100755 --- a/druid-shell/Cargo.toml +++ b/druid-shell/Cargo.toml @@ -67,19 +67,19 @@ serde = ["piet-common/serde"] [dependencies] piet-common = "0.6.2" -tracing = "0.1.37" -once_cell = "1.17.1" -time = "0.3.20" +tracing = "0.1.40" +once_cell = "1.20.2" +time = "0.3.36" cfg-if = "1.0.0" -instant = { version = "0.1.12", features = ["wasm-bindgen"] } -anyhow = "1.0.69" +instant = { version = "0.1.13", features = ["wasm-bindgen"] } +anyhow = "1.0.91" keyboard-types = { version = "0.6.2", default-features = false } # Optional dependencies -raw-window-handle = { version = "0.5.0", optional = true, default-features = false } +raw-window-handle = { version = "0.5.2", optional = true, default-features = false } [target.'cfg(target_os="windows")'.dependencies] -scopeguard = "1.1.0" +scopeguard = "1.2.0" wio = "0.2.2" [target.'cfg(target_os="windows")'.dependencies.winapi] @@ -102,7 +102,7 @@ ashpd = { version = "0.3.2", optional = true } # TODO(x11/dependencies): only use feature "xcb" if using X11 cairo-rs = { version = "0.16.7", default-features = false, features = ["xcb"] } cairo-sys-rs = { version = "0.16.3", default-features = false, optional = true } -futures = { version = "0.3.26", optional = true, features = ["executor"]} +futures = { version = "0.3.31", optional = true, features = ["executor"]} gdk-sys = { version = "0.16.0", optional = true } # `gtk` gets renamed to `gtk-rs` so that we can use `gtk` as the feature name. gtk-rs = { version = "0.16.2", package = "gtk", optional = true } @@ -115,27 +115,27 @@ wayland-protocols = { version = "0.29.5", optional = true } wayland-cursor = { version = "0.29.5", optional = true } rand = { version = "0.8.5", optional = true } calloop = { version = "0.7.2", optional = true } -log = { version = "0.4.17", optional = true } +log = { version = "0.4.22", optional = true } im = { version = "15.1.0", optional = true } [target.'cfg(target_arch="wasm32")'.dependencies] -wasm-bindgen = "0.2.84" -js-sys = "0.3.61" +wasm-bindgen = "0.2.95" +js-sys = "0.3.72" [target.'cfg(target_arch="wasm32")'.dependencies.web-sys] -version = "0.3.61" +version = "0.3.72" features = ["Window", "MouseEvent", "CssStyleDeclaration", "WheelEvent", "KeyEvent", "KeyboardEvent", "Navigator"] [dev-dependencies] piet-common = { version = "0.6.2", features = ["png"] } static_assertions = "1.1.0" -test-log = { version = "0.2.11", features = ["trace"], default-features = false } -tracing-subscriber = { version = "0.3.16", features = ["env-filter"] } -unicode-segmentation = "1.10.1" +test-log = { version = "0.2.16", features = ["trace"], default-features = false } +tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } +unicode-segmentation = "1.12.0" [build-dependencies] bindgen = { version = "0.61.0", optional = true } -pkg-config = { version = "0.3.26", optional = true } +pkg-config = { version = "0.3.31", optional = true } [[example]] name = "shello" diff --git a/druid/Cargo.toml b/druid/Cargo.toml index 7376a2e7c..5912d98df 100644 --- a/druid/Cargo.toml +++ b/druid/Cargo.toml @@ -54,23 +54,23 @@ image-all = ["image", "svg", "png", "jpeg", "jpeg_rayon", "gif", "bmp", "ico", " druid-shell = { version = "0.8.3", default-features = false, path = "../druid-shell" } druid-derive = { version = "0.5.1", path = "../druid-derive" } -tracing = { version = "0.1.37" } -tracing-subscriber = { version = "0.3.16", features = ["fmt", "ansi"], default-features = false } -fluent-bundle = "0.15.2" +tracing = { version = "0.1.40" } +tracing-subscriber = { version = "0.3.18", features = ["fmt", "ansi"], default-features = false } +fluent-bundle = "0.15.3" fluent-langneg = "0.13.0" -fluent-syntax = "0.11.0" -unic-langid = "0.9.1" -unicode-segmentation = "1.10.1" +fluent-syntax = "0.11.1" +unic-langid = "0.9.5" +unicode-segmentation = "1.12.0" xi-unicode = "0.3.0" fnv = "1.0.7" -instant = { version = "0.1.12", features = ["wasm-bindgen"] } +instant = { version = "0.1.13", features = ["wasm-bindgen"] } # Optional dependencies -chrono = { version = "0.4.23", optional = true } +chrono = { version = "0.4.38", optional = true } im = { version = "15.1.0", optional = true } resvg = { version = "0.25.0", optional = true } # When updating, make sure it doesn't pin a specific `png` crate, see druid#2345 usvg = { version = "0.25.0", optional = true } -tiny-skia = { version = "0.8.3", optional = true } +tiny-skia = { version = "0.8.4", optional = true } [target.'cfg(target_arch="wasm32")'.dependencies] tracing-wasm = { version = "0.2.1" } @@ -78,12 +78,12 @@ console_error_panic_hook = { version = "0.1.7" } [dev-dependencies] float-cmp = { version = "0.9.0", features = ["std"], default-features = false } -tempfile = "3.4.0" +tempfile = "3.13.0" piet-common = { version = "0.6.2", features = ["png"] } pulldown-cmark = { version = "0.8.0", default-features = false } -test-log = { version = "0.2.11", features = ["trace"], default-features = false } +test-log = { version = "0.2.16", features = ["trace"], default-features = false } # test-env-log needs it -tracing-subscriber = { version = "0.3.16", features = ["env-filter"] } +tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } [target.'cfg(not(target_arch="wasm32"))'.dev-dependencies] open = "1.7.1" diff --git a/druid/examples/hello_web/Cargo.toml b/druid/examples/hello_web/Cargo.toml index b2f2620d8..c67c3232c 100644 --- a/druid/examples/hello_web/Cargo.toml +++ b/druid/examples/hello_web/Cargo.toml @@ -13,5 +13,5 @@ crate-type = ["cdylib", "rlib"] [dependencies] druid = { path="../.." } -wasm-bindgen = "0.2.84" +wasm-bindgen = "0.2.95" console_error_panic_hook = "0.1.7" diff --git a/druid/examples/web/Cargo.toml b/druid/examples/web/Cargo.toml index ac3a8734e..cde30cf48 100644 --- a/druid/examples/web/Cargo.toml +++ b/druid/examples/web/Cargo.toml @@ -12,11 +12,11 @@ crate-type = ["cdylib", "rlib"] [dependencies] druid = { path="../..", features = ["im", "image", "png"] } -tracing = "0.1.37" -wasm-bindgen = "0.2.84" +tracing = "0.1.40" +wasm-bindgen = "0.2.95" console_error_panic_hook = "0.1.7" -log = "0.4.17" -instant = { version = "0.1.12", features = ["wasm-bindgen"] } +log = "0.4.22" +instant = { version = "0.1.13", features = ["wasm-bindgen"] } [target.'cfg(not(target_arch="wasm32"))'.dependencies] simple_logger = { version = "1.16.0", default-features = false }