diff --git a/veilid-core/Cargo.toml b/veilid-core/Cargo.toml index 5f4128c5..73b020c9 100644 --- a/veilid-core/Cargo.toml +++ b/veilid-core/Cargo.toml @@ -13,7 +13,10 @@ crate-type = ["cdylib", "staticlib", "rlib"] # Common features default = ["enable-crypto-vld0", "rt-tokio"] +default-async-std = ["enable-crypto-vld0", "rt-async-std"] default-wasm = ["enable-crypto-vld0"] + +# Runtimes rt-async-std = [ "async-std", "async-std-resolver", diff --git a/veilid-core/run_tests.sh b/veilid-core/run_tests.sh index 82a2f2f8..d3e0376a 100755 --- a/veilid-core/run_tests.sh +++ b/veilid-core/run_tests.sh @@ -60,6 +60,6 @@ elif [[ "$1" == "android" ]]; then else cargo test - cargo test --features=rt-async-std + cargo test --no-default-features --features=default-async-std fi popd 2>/dev/null \ No newline at end of file