Cargo Features

[dependencies]
sdf-metadata = { version = "0.10.0", default-features = false, features = ["host", "guest", "yaml", "parser"] }
default = host

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

host default

Enables component-model of wasmtime

wasmtime:

Enables in-progress support for the component model. Note that this feature is in-progress, buggy, and incomplete. This is primarily here for internal testing purposes.

Affects sdf-metadata::wit

guest

Enables macros of wit-bindgen and std of serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

Affects sdf-metadata::wit

yaml = parser

Enables serde_yaml

parser yaml?

Enables sdf-parser-core, sdf-parser-df, and sdf-parser-package, extra-traits, full and parsing of syn

Affects util::sdf_function_parser