rules_rust/wasm_bindgen/providers.bzl

11 lines
368 B
Python

"""Rust WASM bindgen providers"""
RustWasmBindgenInfo = provider(
doc = "Info about wasm-bindgen outputs.",
fields = {
"js": "Depset[File]: The Javascript files produced by `wasm-bindgen`.",
"ts": "Depset[File]: The Typescript files produced by `wasm-bindgen`.",
"wasm": "File: The `.wasm` file generated by `wasm-bindgen`.",
},
)