diff --git a/crates/bevy_animation/Cargo.toml b/crates/bevy_animation/Cargo.toml index de32f86dc3..5b906fed7c 100644 --- a/crates/bevy_animation/Cargo.toml +++ b/crates/bevy_animation/Cargo.toml @@ -40,10 +40,13 @@ thiserror = { version = "2", default-features = false } derive_more = { version = "1", default-features = false, features = ["from"] } either = "1.13" thread_local = "1" -uuid = { version = "1.7", features = ["v4"] } +uuid = { version = "1.13.1", features = ["v4"] } smallvec = "1" tracing = { version = "0.1", default-features = false, features = ["std"] } +[target.'cfg(target_arch = "wasm32")'.dependencies] +uuid = { version = "1.13.1", default-features = false, features = ["js"] } + [lints] workspace = true diff --git a/crates/bevy_asset/Cargo.toml b/crates/bevy_asset/Cargo.toml index f21434c484..bea637067a 100644 --- a/crates/bevy_asset/Cargo.toml +++ b/crates/bevy_asset/Cargo.toml @@ -49,7 +49,7 @@ ron = "0.8" serde = { version = "1", features = ["derive"] } thiserror = { version = "2", default-features = false } derive_more = { version = "1", default-features = false, features = ["from"] } -uuid = { version = "1.0", features = ["v4"] } +uuid = { version = "1.13.1", features = ["v4"] } tracing = { version = "0.1", default-features = false, features = ["std"] } [target.'cfg(target_os = "android")'.dependencies] @@ -64,6 +64,7 @@ web-sys = { version = "0.3", features = [ ] } wasm-bindgen-futures = "0.4" js-sys = "0.3" +uuid = { version = "1.13.1", default-features = false, features = ["js"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] notify-debouncer-full = { version = "0.4.0", optional = true } diff --git a/crates/bevy_picking/Cargo.toml b/crates/bevy_picking/Cargo.toml index 66fdf6e0a3..70d470ffc1 100644 --- a/crates/bevy_picking/Cargo.toml +++ b/crates/bevy_picking/Cargo.toml @@ -32,9 +32,12 @@ bevy_platform_support = { path = "../bevy_platform_support", version = "0.16.0-d # other crossbeam-channel = { version = "0.5", optional = true } -uuid = { version = "1.1", features = ["v4"] } +uuid = { version = "1.13.1", features = ["v4"] } tracing = { version = "0.1", default-features = false, features = ["std"] } +[target.'cfg(target_arch = "wasm32")'.dependencies] +uuid = { version = "1.13.1", default-features = false, features = ["js"] } + [lints] workspace = true diff --git a/crates/bevy_reflect/Cargo.toml b/crates/bevy_reflect/Cargo.toml index 49251287ed..22daf14f28 100644 --- a/crates/bevy_reflect/Cargo.toml +++ b/crates/bevy_reflect/Cargo.toml @@ -111,13 +111,16 @@ petgraph = { version = "0.6", features = ["serde-1"], optional = true } smol_str = { version = "0.2.0", default-features = false, features = [ "serde", ], optional = true } -uuid = { version = "1.0", default-features = false, optional = true, features = [ +uuid = { version = "1.13.1", default-features = false, optional = true, features = [ "v4", "serde", ] } variadics_please = "1.1" wgpu-types = { version = "23", features = ["serde"], optional = true } +[target.'cfg(target_arch = "wasm32")'.dependencies] +uuid = { version = "1.13.1", default-features = false, features = ["js"] } + [dev-dependencies] ron = "0.8.0" rmp-serde = "1.1" diff --git a/crates/bevy_reflect/derive/Cargo.toml b/crates/bevy_reflect/derive/Cargo.toml index 8c4717c287..bbdca03ca7 100644 --- a/crates/bevy_reflect/derive/Cargo.toml +++ b/crates/bevy_reflect/derive/Cargo.toml @@ -23,7 +23,10 @@ bevy_macro_utils = { path = "../../bevy_macro_utils", version = "0.16.0-dev" } proc-macro2 = "1.0" quote = "1.0" syn = { version = "2.0", features = ["full"] } -uuid = { version = "1.1", features = ["v4"] } +uuid = { version = "1.13.1", features = ["v4"] } + +[target.'cfg(target_arch = "wasm32")'.dependencies] +uuid = { version = "1.13.1", default-features = false, features = ["js"] } [lints] workspace = true diff --git a/crates/bevy_scene/Cargo.toml b/crates/bevy_scene/Cargo.toml index 1f3e5be2de..ac263fe734 100644 --- a/crates/bevy_scene/Cargo.toml +++ b/crates/bevy_scene/Cargo.toml @@ -35,10 +35,13 @@ bevy_platform_support = { path = "../bevy_platform_support", version = "0.16.0-d # other serde = { version = "1.0", features = ["derive"], optional = true } -uuid = { version = "1.1", features = ["v4"] } +uuid = { version = "1.13.1", features = ["v4"] } thiserror = { version = "2", default-features = false } derive_more = { version = "1", default-features = false, features = ["from"] } +[target.'cfg(target_arch = "wasm32")'.dependencies] +uuid = { version = "1.13.1", default-features = false, features = ["js"] } + [dev-dependencies] postcard = { version = "1.0", features = ["alloc"] } bincode = "1.3"