Crate cargo_component

Source
Expand description

Cargo support for WebAssembly components.

Modules§

commands
Commands for the cargo-component CLI.
config
Module for cargo-component configuration.

Structs§

PackageComponentMetadata
Represents a cargo package paired with its component metadata.
PublishOptions
Represents options for a publish operation.

Functions§

load_component_metadata
Loads the component metadata for the given package specs.
load_metadata
Loads the workspace metadata based on the given manifest path.
publish
Publish a component for the given workspace and publish options.
run_cargo_command
Runs the cargo command as specified in the configuration.
update_lockfile
Update the dependencies in the lock file.