Compare commits

...

4 Commits

Author SHA1 Message Date
bitfl0wer d0e2cc29dd
Add wasm test script 2024-07-11 15:48:06 +02:00
bitfl0wer 829cc9878f
Lock reqwest at 0.11.26, latest possible version 2024-07-11 14:23:50 +02:00
bitfl0wer ae6233b495
Lock reqwest at 0.11.23 2024-07-11 14:17:07 +02:00
bitfl0wer 0d40af069a
Revert reqwest 2024-07-11 14:13:02 +02:00
3 changed files with 9 additions and 3 deletions

4
Cargo.lock generated
View File

@ -1682,9 +1682,9 @@ checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b"
[[package]]
name = "reqwest"
version = "0.11.27"
version = "0.11.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62"
checksum = "78bf93c4af7a8bb7d879d51cebe797356ff10ae8516ace542b5182d9dcac10b2"
dependencies = [
"base64 0.21.7",
"bytes",

View File

@ -32,7 +32,7 @@ reqwest = { features = [
"multipart",
"json",
"rustls-tls-webpki-roots",
], version = "0.11.27", default-features = false }
], version = "=0.11.26", default-features = false }
url = "2.5.0"
chrono = { version = "0.4.31", features = ["serde"] }
regex = "1.10.2"

6
test-wasm.sh Executable file
View File

@ -0,0 +1,6 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#!/bin/sh
wasm-pack test --firefox --headless -- --no-default-features --target=wasm32-unknown-unknown "$@"