cargo-component
cargo-component copied to clipboard
A Cargo subcommand for creating WebAssembly components based on the component model proposal.
This is a small pet-peeve of mine but I figured I'd raise it: I find the name `src/bindings.rs` to be a little ambiguous, as it assumes people are already familiar...
Now that there is a hosted project for [Wasm packaging tools](https://github.com/bytecodealliance/wasm-pkg-tools), should the [wit crate](https://github.com/bytecodealliance/cargo-component/tree/main/crates/wit) in this project be moved there? I imagine most of the maintenance and iteration will...
Try to install ```cargo install cargo-component --locked``` in RPI4 to run the wasi 0.2 preview demo code in RPI4 but got error while installing cargo component. System info ``` Architecture:...
Currently, `cargo component add` produces binaries using the `unlocked-dep` import syntax, which is not supported yet. Not runnable or parsable in today's tools. There are a number of things to...
#296 bumped the minimum supported Rust version (MSRV) to Rust 1.76. I don't believe we document what the MSRV is for cargo-component so I assume it's just the latest version...
Compare the contents of `bindings.rs` before overwriting. If no changes are detected, skip the overwrite to prevent unnecessary recompilation.
It would be nice to generate `README.md` when doing `cargo component new`.
To support `-S http` for instance
Cache dir: https://github.com/bytecodealliance/cargo-component/blob/main/crates/core/src/lib.rs#L18-L28
If the generated file is not properly formatted, CI validation of formatting will complain.