cargo-component
« Back to VersTracker
Description:
Create WebAssembly components based on the component model proposal
Type: Formula  |  Latest Version: 0.21.1@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: rust webassembly wasm cli development
Install: brew install cargo-component
About:
cargo-component is a CLI tool that enables developers to build and publish WebAssembly components using a declarative configuration file. It streamlines the process of targeting the WebAssembly Component Model, allowing for efficient composition and interoperability between different languages and runtimes.
Key Features:
  • Declarative component configuration via wkg.toml
  • Integration with standard Cargo workflows
  • Support for publishing components to a registry
  • Enables language-agnostic Wasm composition
Use Cases:
  • Building portable, composable microservices or serverless functions
  • Creating libraries that can be used across different WebAssembly runtimes (WASI)
Alternatives:
  • wasm-pack – wasm-pack focuses on compiling Rust to standard Wasm modules for the browser, whereas cargo-component specifically targets the higher-level Component Model for runtime composition.
License: Apache-2.0
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 12, 2025 5:50pm 0 VERSION_BUMP 8fd352f8