3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-04-27 21:55:52 +00:00

move selftests to subdirectory and run more selftests

This commit is contained in:
Arpad Borsos 2022-07-09 12:23:37 +02:00
parent 260a713186
commit fc84c9d9a3
No known key found for this signature in database
GPG key ID: FC7BCA77824B3298
11 changed files with 55 additions and 14 deletions

View file

@ -0,0 +1,2 @@
[build]
target = "wasm32-unknown-unknown"

1
tests/wasm-workspace/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
Cargo.lock

View file

@ -0,0 +1,5 @@
[workspace]
members = [
"crates/one",
"crates/two",
]

View file

@ -0,0 +1,14 @@
[package]
name = "wasm-one"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
reqwest = "0.11.0"
async-std = "1"
tracing = "0.1"
tracing-futures = "0.2"
serde = "1"
serde_json = "1"

View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

View file

@ -0,0 +1,9 @@
[package]
name = "wasm-two"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = "3"

View file

@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}