updated the dependencies - maintaining compatibility and tests (#4363)
* Update dependencies in Cargo.lock * added in the missing bevy example which was included in recent merge * undo unneccessary library installation in gh actions * cleaned up further * Update dependencies in Cargo.toml and Cargo.lock askana_escape to 0.13 * updated code to make tests work * updated the wgpu texture example * replaced all direct reference with use * fixed wgpu and jsframework errors in benches and examples * Fix: Import black_box from std::hint * grand finale upgrade * updated cargo.lock * Bump hyper-util to 0.1.15 and plist to 1.7.4 * remove some unused swc dependencies and add a command to update them in the future --------- Co-authored-by: Evan Almloff <evanalmloff@gmail.com> Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
27 files changed
+774
-963
No files matched your search
@@ -345,7 +345,7 @@ fn create_secure_key() -> EncodedKey {
|
||||
val
|
||||
}
|
||||
|
||||
let mut secure_rng = assert_crypto_random(rand::rngs::StdRng::from_entropy());
|
||||
let mut secure_rng = assert_crypto_random(rand::rngs::StdRng::from_os_rng());
|
||||
let mut expected_key: EncodedKey = [0u8; KEY_SIZE];
|
||||
secure_rng.fill_bytes(&mut expected_key);
|
||||
expected_key
|
||||
@@ -353,7 +353,7 @@ fn create_secure_key() -> EncodedKey {
|
||||
|
||||
#[test]
|
||||
fn test_key_encoding_length() {
|
||||
let mut rand = rand::rngs::StdRng::from_entropy();
|
||||
let mut rand = rand::rngs::StdRng::from_os_rng();
|
||||
for _ in 0..100 {
|
||||
let mut key: EncodedKey = [0u8; KEY_SIZE];
|
||||
rand.fill_bytes(&mut key);
|
||||
|
||||
Reference in new issue
Block a user