🍺 BREW Explorer

← all formulae

cargo-component

brew install cargo-component v0.21.1 Apache-2.0

Create WebAssembly components based on the component model proposal

17
30-day installs · #7196
36
90-day · #8177
153
365-day · #8066
589
★ GitHub stars · updated 1y ago

Build dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "rust"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Create WebAssembly components based on the component model proposal",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:08+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "cargo-component",
  "github_default_branch": "main",
  "github_last_commit_at": "2025-07-14T15:28:17Z",
  "github_readme_excerpt": "\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e\u003ccode\u003ecargo component\u003c/code\u003e\u003c/h1\u003e\n\n\u003cstrong\u003eA \u003ca href=\"https://bytecodealliance.org/\"\u003eBytecode Alliance\u003c/a\u003e project\u003c/strong\u003e\n\n  \u003cp\u003e\n    \u003cstrong\u003eA cargo subcommand for building WebAssembly components according to the \u003ca href=\"https://github.com/WebAssembly/component-model/\"\u003ecomponent model proposal\u003c/a\u003e.\u003c/strong\u003e\n  \u003c/p\u003e\n\n  \u003cp\u003e\n    \u003ca href=\"https://github.com/bytecodealliance/cargo-component/actions?query=workflow%3ACI\"\u003e\u003cimg src=\"https://github.com/bytecodealliance/cargo-component/workflows/CI/badge.svg\" alt=\"build status\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://crates.io/crates/cargo-component\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/cargo-component.svg?style=flat-square\" alt=\"Crates.io version\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://crates.io/crates/cargo-component\"\u003e\u003cimg src=\"https://img.shields.io/crates/d/cargo-component.svg?style=flat-square\" alt=\"Download\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://bytecodealliance.github.io/cargo-component/\"\u003e\u003cimg src=\"https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square\" alt=\"docs.rs docs\" /\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## Overview\n\n`cargo component` is a `cargo` subcommand for creating [WebAssembly components](https://github.com/WebAssembly/component-model)\nusing Rust as the component\u0027s implementation language.\n\n### Notice\n\n`cargo component` is considered to be experimental and is _not_ currently\nstable in terms of the code it supports building.\n\nUntil the component model stabilizes, upgrading to a newer `cargo component`\nmay cause build errors for existing component projects.\n\n## Requirements\n\n1. The `cargo component` subcommand is written in Rust, so you\u0027ll want the\n  [latest stable Rust installed](https://www.rust-lang.org/tools/install).\n2. `cargo component` requires a working OpenSSL install on Linux. See the installation instructions [here](https://docs.rs/openssl/0.10.64/openssl/index.html#automatic).\n3. `cargo component` also requires a working C toolchain. Make sure to have a\nworking `cc` command (or equivalent) for your e",
  "github_repo": "bytecodealliance/cargo-component",
  "github_stars": 589,
  "github_topics": [],
  "homepage": "https://github.com/bytecodealliance/cargo-component",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 17,
  "installs_365d": 153,
  "installs_90d": 36,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "Apache-2.0",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "cargo-component",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 7196,
  "rank_365d": 8066,
  "rank_90d": 8177,
  "raw_hash": "c8d9cedf800cfa8a",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/c/cargo-component.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "rustup"
  ],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.21.1",
  "versioned_formulae": [],
  "why_use_this": null
}