cargo-component
cargo-component copied to clipboard
A Cargo subcommand for creating WebAssembly components based on the component model proposal.
Recently I started experiencing an error when I run `cargo comonent build`. I'm sorry, but I can't figure out what's causing it or provide a minimal example. I'm hoping you...
I've had this gripe for a while: I keep getting "dev: chore: publish binaries (#161)" notifications when i really only wanted to subscribe to the actual releases/prereleases.   I...
This would make running `wasi:http` components easier. Currently users have to set `CARGO_TARGET_WASM32_WASI_RUNNER` environment variable to get it to work: ``` CARGO_TARGET_WASM32_WASI_RUNNER="wasmtime serve" cargo component run ```
The layout of the cargo-component Cargo.toml configuration needs to be documented preferably with the most common configuration items called out in the README.
This implements a `wit pull` subcommand which can be used to update local e.g. `wit/deps/*.wit` from a registry. ```console $ wit pull wasi:io --create-dirs Resolving package wasi:io Downloaded release wasi:[email protected]...
I have a workspace that has some components within it so I am using `cargo component check --workspace` to check that all of the workspace members are working. However, one...
This patch reads the project's Cargo configuration and uses the build target specified in it. This ensures that `cargo component build` will respect the target configuration in the `.cargo/config.toml` file...
Such as the case described in #314. cc @calvinrp close #314
I've been working on a number of projects which just directly pull the [`wasi`](https://docs.rs/wasi/latest/wasi/) crate, but don't do anything with a local `wit/` directory. This produces a `src/bindings.rs` file, despite...
This patch implements the proposal in https://github.com/bytecodealliance/cargo-component/issues/315, moving the generated files into the `generated` subdirectory. This change introduces a breaking change: the module name of the automatically generated component bindings...