类库
› wasm-bindgen
wasm-bindgen/wasm-bindgen
wasm-bindgen 是 Rust 与 JavaScript 之间的高层交互工具。它允许在 Rust 中导入 Web API,并将 Rust 代码导出为 JavaScript 可调用的模块。通过 CLI 工具处理 Wasm 绑定,实现跨语言无缝协作,是构建 WebAssembly 应用的核心基础设施。
技术栈
根目录 rust
查看全部依赖 (7)
依赖
cfg-if
1.0.0
once_cell
1.12
serde
1.0
serde_json
1.0
wasm-bindgen-macro
=0.2.122
wasm-bindgen-shared
=0.2.122
开发依赖
wasm-bindgen-test
crates/cli-support rust
查看全部依赖 (9)
依赖
anyhow
1.0
base64
0.22
leb128
0.2
log
0.4
rustc-demangle
0.1.13
开发依赖
rstest
0.26
wasmprinter
0.243
wast
243
wat
1.243.0
crates/cli rust
查看全部依赖 (7)
依赖
anyhow
1.0
开发依赖
assert_cmd
2
predicates
3
pretty_assertions
1.4
regex
1.11.2
rstest
0.26
wasmprinter
0.245
crates/futures rust
查看全部依赖 (2)
依赖
js-sys
=0.3.99
wasm-bindgen
=0.2.122
crates/js-sys rust
查看全部依赖 (2)
依赖
cfg-if
1.0.0
futures-core
0.3.8
crates/macro-support rust
查看全部依赖 (3)
依赖
bumpalo
3.0.0
proc-macro2
1.0
quote
1.0
crates/macro rust
查看全部依赖 (6)
依赖
quote
1.0
wasm-bindgen-macro-support
=0.2.122
开发依赖
js-sys
trybuild
1.0
wasm-bindgen
wasm-bindgen-futures
crates/msrv/cli rust
查看全部依赖 (2)
依赖
time
=0.3.45
wasm-bindgen-cli
crates/msrv/lib rust
查看全部依赖 (9)
依赖
bumpalo
=3.12.0
js-sys
log
=0.4.18
proc-macro2
=1.0.101
quote
=1.0.40
wasm-bindgen
wasm-bindgen-futures
wasm-bindgen-test
web-sys
crates/msrv/resolver rust
查看全部依赖 (8)
依赖
bumpalo
=3.12.0
js-sys
proc-macro2
=1.0.101
quote
=1.0.40
wasm-bindgen
wasm-bindgen-futures
wasm-bindgen-test
web-sys
crates/shared rust
查看全部依赖 (1)
依赖
unicode-ident
1.0.5
crates/test-macro rust
查看全部依赖 (2)
依赖
proc-macro2
1.0
quote
1.0
crates/typescript-tests rust
查看全部依赖 (4)
依赖
js-sys
开发依赖
@types/jest
^29.5.8
ts-jest
=29.2.0
typescript
^5.2.2
crates/web-sys rust
查看全部依赖 (2)
依赖
js-sys
=0.3.99
wasm-bindgen
=0.2.122
crates/webidl-tests rust
查看全部依赖 (1)
开发依赖
wasm-bindgen-test
crates/webidl rust
查看全部依赖 (1)
依赖
anyhow
1.0