webgpu_check 0.1.3

A simple, minimal crate to probe WebGPU support.
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(not(target_arch = "wasm32"))]
#[test]
fn can_check_native() {
    webgpu_check::is_webgpu_available();
}

#[cfg(target_arch = "wasm32")]
#[wasm_bindgen_test::wasm_bindgen_test]
fn can_check_wasm() {
    webgpu_check::is_webgpu_available();
}