mirror of
https://github.com/Swatinem/rust-cache
synced 2025-04-27 13:45:52 +00:00
move selftests to subdirectory and run more selftests
This commit is contained in:
parent
260a713186
commit
fc84c9d9a3
11 changed files with 55 additions and 14 deletions
1739
tests/Cargo.lock
generated
Normal file
1739
tests/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
11
tests/Cargo.toml
Normal file
11
tests/Cargo.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
[package]
|
||||
publish = false
|
||||
name = "rust-cache"
|
||||
version = "0.1.0"
|
||||
authors = ["Arpad Borsos <arpad.borsos@googlemail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dev-dependencies]
|
||||
reqwest = "0.11.0"
|
||||
clap = "3"
|
||||
actix-web = { git = "https://github.com/actix/actix-web.git", rev = "bd26083f333ecf63e3eb444748250364ce124f5e" }
|
3
tests/src/main.rs
Normal file
3
tests/src/main.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
2
tests/wasm-workspace/.cargo/config.toml
Normal file
2
tests/wasm-workspace/.cargo/config.toml
Normal file
|
@ -0,0 +1,2 @@
|
|||
[build]
|
||||
target = "wasm32-unknown-unknown"
|
1
tests/wasm-workspace/.gitignore
vendored
Normal file
1
tests/wasm-workspace/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Cargo.lock
|
5
tests/wasm-workspace/Cargo.toml
Normal file
5
tests/wasm-workspace/Cargo.toml
Normal file
|
@ -0,0 +1,5 @@
|
|||
[workspace]
|
||||
members = [
|
||||
"crates/one",
|
||||
"crates/two",
|
||||
]
|
14
tests/wasm-workspace/crates/one/Cargo.toml
Normal file
14
tests/wasm-workspace/crates/one/Cargo.toml
Normal 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"
|
3
tests/wasm-workspace/crates/one/src/main.rs
Normal file
3
tests/wasm-workspace/crates/one/src/main.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
9
tests/wasm-workspace/crates/two/Cargo.toml
Normal file
9
tests/wasm-workspace/crates/two/Cargo.toml
Normal 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"
|
3
tests/wasm-workspace/crates/two/src/main.rs
Normal file
3
tests/wasm-workspace/crates/two/src/main.rs
Normal file
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue