Skip to content

Commit

Permalink
Update SemVer compatible dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
xStrom committed Oct 25, 2024
1 parent 49b5352 commit 4e26422
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 35 deletions.
4 changes: 2 additions & 2 deletions druid-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
32 changes: 16 additions & 16 deletions druid-shell/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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 }
Expand All @@ -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"
Expand Down
24 changes: 12 additions & 12 deletions druid/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,36 +54,36 @@ 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" }
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"
Expand Down
2 changes: 1 addition & 1 deletion druid/examples/hello_web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 4 additions & 4 deletions druid/examples/web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

0 comments on commit 4e26422

Please sign in to comment.