mirror of
https://github.com/Devolutions/IronRDP.git
synced 2025-12-23 12:26:46 +00:00
build(deps): bump getrandom to 0.3
We still need to enable "js" feature for transitive dependencies. Also, we need to explicitely enable the wasm backend via rustflags. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
971ad922a5
commit
8d09e327a1
4 changed files with 8 additions and 1 deletions
|
|
@ -1,2 +1,5 @@
|
|||
[alias]
|
||||
xtask = "run --package xtask --"
|
||||
|
||||
[target.wasm32-unknown-unknown]
|
||||
rustflags = ['--cfg', 'getrandom_backend="wasm_js"']
|
||||
|
|
|
|||
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -2833,6 +2833,7 @@ dependencies = [
|
|||
"futures-channel",
|
||||
"futures-util",
|
||||
"getrandom 0.2.16",
|
||||
"getrandom 0.3.3",
|
||||
"gloo-net",
|
||||
"gloo-timers",
|
||||
"iron-remote-desktop",
|
||||
|
|
|
|||
|
|
@ -56,7 +56,8 @@ resize = { version = "0.8", features = ["std"], default-features = false }
|
|||
rgb = "0.8"
|
||||
|
||||
# Enable WebAssembly support for a few crates
|
||||
getrandom = { version = "0.2", features = ["js"] }
|
||||
getrandom2 = { package = "getrandom", version = "0.2", features = ["js"] }
|
||||
getrandom = { version = "0.3", features = ["wasm_js"] }
|
||||
chrono = { version = "0.4", features = ["wasmbind"] }
|
||||
time = { version = "0.3", features = ["wasm-bindgen"] }
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ extern crate chrono as _;
|
|||
extern crate getrandom as _;
|
||||
extern crate time as _;
|
||||
|
||||
use getrandom2 as _;
|
||||
|
||||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue