Cargo Features

wash-lib = { version = "0.18.1", default-features = false, features = ["start", "parser", "cli", "nats", "docs"] }
default = nats, parser, start

These default features are set whenever wash-lib is added without default-features = false somewhere in the dependency tree.

start default = semver

Affects wash-lib::start

parser default = config, semver, serde, serde_json

Affects wash-lib::parser

cli = clap, console, dialoguer, heck, ignore, indicatif, path-absolutize, term-table

Affects wash-lib::build, wash-lib::cli, wash-lib::generate

nats default = async-nats, wadm

Affects wash-lib::app


Enables docs of wasmcloud-component-adapters ^0.7


skip fetching adapters (which requires network access)

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

async-nats nats
clap cli?
config parser

Enables config ^0.13

console cli?
dialoguer cli?

Enables dialoguer ^0.10

heck cli?
ignore cli?
indicatif cli?
path-absolutize cli?
semver parser start
serde parser
serde_json parser
term-table cli?
wadm nats