fix: ignore runtimes docs in wasi test
Signed-off-by: Anton Whalley <anton@venshare.com>
This commit is contained in:
parent
5a3697cec9
commit
badbd5bcc0
11
Cargo.toml
11
Cargo.toml
|
@ -77,11 +77,18 @@ serde_yaml = "0.8"
|
||||||
rmp-serde = "1"
|
rmp-serde = "1"
|
||||||
|
|
||||||
# runtime dev-deps
|
# runtime dev-deps
|
||||||
actix-rt = { version = "^2" }
|
|
||||||
url = { version = "^2.1", features = ["serde"] }
|
url = { version = "^2.1", features = ["serde"] }
|
||||||
serde_json = { version = "^1.0" }
|
serde_json = { version = "^1.0" }
|
||||||
chrono = { version = "^0.4", features = ["serde"] }
|
chrono = { version = "^0.4", features = ["serde"] }
|
||||||
mockito = "0.25.1"
|
mockito = "0.25.1"
|
||||||
tokio = { version = "^1.0", features = ["full"] }
|
|
||||||
mime = "0.3"
|
mime = "0.3"
|
||||||
|
|
||||||
|
|
||||||
|
[target."cfg(not(target_os = \"wasi\"))".dev-dependencies]
|
||||||
|
actix-rt = { version = "^2" }
|
||||||
|
tokio = { version = "^1.0", features = ["full"] }
|
||||||
tower = { version = "0.4", features = ["util"] }
|
tower = { version = "0.4", features = ["util"] }
|
||||||
|
|
||||||
|
[target.'cfg(all(target_arch = "wasm32", target_os = "wasi"))'.dev-dependencies]
|
||||||
|
tokio_wasi = { version = "1", features = ["io-util", "fs", "net", "time", "rt", "macros"] }
|
|
@ -1,9 +1,11 @@
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg_attr(target_os = "wasi", ignore)]
|
||||||
fn test_readme_deps() {
|
fn test_readme_deps() {
|
||||||
version_sync::assert_markdown_deps_updated!("README.md");
|
version_sync::assert_markdown_deps_updated!("README.md");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg_attr(target_os = "wasi", ignore)]
|
||||||
fn test_html_root_url() {
|
fn test_html_root_url() {
|
||||||
version_sync::assert_html_root_url_updated!("src/lib.rs");
|
version_sync::assert_html_root_url_updated!("src/lib.rs");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue