Cargo Features

[dependencies]
zenoh-keyexpr = { version = "1.1.1", default-features = false, features = ["std", "internal", "unstable", "js"] }
default = std

The std feature is set by default whenever zenoh-keyexpr is added without default-features = false somewhere in the dependency tree.

std default

Enables schemars, std of zenoh-result

Affects key_expr::fuzzer

internal
unstable

Affects borrowed::SetIntersectionLevel

js

Enables js of getrandom

NOTE: getrandom needs to be explicitly added here in order to enable the js feature when compiling the rand crate to WASM more information: https://docs.rs/getrandom/latest/getrandom/#webassembly-support