Cargo Features

[dependencies]
afrim-translator = { version = "0.2.1", default-features = false, features = ["rhai", "rhai-wasm", "strsim", "serde"] }
default = rhai, strsim

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

rhai default rhai-wasm?

Enables rhai

rhai-wasm = rhai

Enables wasm-bindgen of rhai

rhai:

JavaScript Interface for WASM

Use wasm-bindgen as JavaScript interface.

strsim default

Enables strsim

serde

Enables serde and serde of indexmap and optional rhai

rhai:

Enable serialization/deserialization of Rhai data types via serde.

afrim-translator has 5 features without comments.