cargo-wasmer icon indicating copy to clipboard operation
cargo-wasmer copied to clipboard

A cargo sub-command for publishing Rust crates to the WebAssembly Package Manager.

Results 8 cargo-wasmer issues
Sort by recently updated
recently updated
newest added

With https://github.com/wasmerio/wasmer-toml/pull/8 now being merged, we should rename the command to `cargo wasmer` and switch to the `wasmer-toml` crate. For compatibility, it might be a good idea to leave the...

TLDR. Run that command and it'll delete everything in the current directory. This appears to only happen when the current directory is a valid project.

It looks like when `cargo-wapm` generates the `wapm.toml`, it uses absolute paths for things like the `README` rather than making them relative to the base directory. Here is one example:...

Publishing Rust crates with the `wapm` command no longer works because you run into validation errors around bulk memory operations. ```console $ cargo wapm --dry-run 2023-07-19T02:43:40.113941Z INFO publish: cargo_wapm::publish: Getting...

When constructing a `wapm_toml::Manifest`, we call [`determine_target()`](https://github.com/wasmerio/cargo-wapm/blob/f8d9e6d58e6fa923aa23b895c4d0dc5aa0c4ecff/src/publish.rs#L95-L115) which takes a `cargo_metadata::Package` (i.e. a parsed `Cargo.toml`) and returns a reference to the **one** `cargo_metadata::Target` in that `Package`. From there, we construct...

enhancement

It'd be nice if `cargo-wapm` made its functionality available as a library as well as an executable. That way external tools can use the packaging functionality without needing to install...

It'd be nice if people can use `cargo wapm` in CI without needing to do a full `cargo install cargo-wapm`. Let's add a `releases.yml` job which will compile binary artifacts,...

I tried `cargo wapm`, expecting to see what WAPM-related commands does `cargo-wapm` has. But it immediately tried to publish the package. Maybe publishing should be a separate subcommand (even if...