wasm-bindgen
cliSupported platforms: darwin, linux.
Install
skt install wasm-bindgen@<version> --jsonSource
- Type
- cli
- Checksum style
- single
- Download URL
- https://github.com/wasm-bindgen/wasm-bindgen/releases/download/{version}/{download_file}
- Checksum URL
- https://github.com/wasm-bindgen/wasm-bindgen/releases/download/{version}/{checksum_file}
Recipe TOML
name = "wasm-bindgen"
type = "cli"
# Must match the wasm-bindgen crate version in the consumer's Cargo.lock exactly.
[platform.linux]
download-file = "wasm-bindgen-{version}-{arch}-unknown-linux-musl.tar.gz"
checksum-file = "wasm-bindgen-{version}-{arch}-unknown-linux-musl.tar.gz.sha256sum"
exe-path = "wasm-bindgen-{version}-{arch}-unknown-linux-musl/wasm-bindgen"
[platform.darwin]
download-file = "wasm-bindgen-{version}-{arch}-apple-darwin.tar.gz"
checksum-file = "wasm-bindgen-{version}-{arch}-apple-darwin.tar.gz.sha256sum"
exe-path = "wasm-bindgen-{version}-{arch}-apple-darwin/wasm-bindgen"
[install]
download-url = "https://github.com/wasm-bindgen/wasm-bindgen/releases/download/{version}/{download_file}"
checksum-url = "https://github.com/wasm-bindgen/wasm-bindgen/releases/download/{version}/{checksum_file}"
checksum-style = "single"
[install.arch]
amd64 = "x86_64"
arm64 = "aarch64"
[resolve]
git-url = "https://github.com/wasm-bindgen/wasm-bindgen"
version-pattern = "^((?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+))$"