3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-08-11 15:50:56 +00:00

Add multiple crates to wasm test workspace. Update selftest

This commit is contained in:
Nick Mosher 2022-07-08 21:08:56 -04:00
parent fca91510b6
commit b6a2848a50
6 changed files with 33 additions and 20 deletions

View file

@ -24,9 +24,9 @@ jobs:
- uses: ./ - uses: ./
with: with:
cache-on-failure: true cache-on-failure: true
target-dir: | workspace-paths: |
target/ ./
wasm-workspace/target/ wasm-workspace/
- run: | - run: |
cargo install cargo-deny --locked cargo install cargo-deny --locked

View file

@ -1,18 +1,5 @@
[workspace] [workspace]
members = ["."] members = [
"crates/one",
[package] "crates/two",
name = "wasm-workspace" ]
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"
toml = ""

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,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!");
}