Cargo Features

[dependencies]
wascc-host = { version = "0.14.0", default-features = false, features = ["manifest", "bin", "prometheus_middleware", "lattice", "wasmtime", "wasm3"] }
default = wasmtime

The wasmtime feature is set by default whenever wascc-host is added without default-features = false somewhere in the dependency tree.

manifest = envmnt, serde, serde_json, serde_yaml

Required by the binary

bin = ctrlc, structopt

Required by the binary

prometheus_middleware = hyper, prometheus

Affects middleware::prometheus

lattice = latticeclient, nats, serde, serde_json
wasmtime default = wasmtime-provider
wasm3 = wasm3-provider

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

prometheus prometheus_middleware?

Enables prometheus ^0.9

hyper prometheus_middleware?

Enables hyper ^0.13

nats lattice?

Enables nats ^0.8.1

Opt-in dependencies chosen by feature flags

serde lattice? manifest?
serde_yaml manifest?

Enables serde_yaml ^0.8.13

serde_json lattice? manifest?
envmnt manifest?

Enables envmnt ^0.8.4

structopt bin?
latticeclient lattice?
ctrlc bin?
wasm3-provider wasm3?

Enables wasm3-provider ^0.0.1

wasmtime-provider wasmtime

Enables wasmtime-provider ^0.0.1