Cargo Features

script-macro has no features set by default.

[dependencies]
script-macro = { version = "0.1.2", features = ["parse-json", "parse-yaml", "filesystem", "glob"] }
parse-json

Enables serde_json, serde of rhai

parse-yaml

Enables serde_yaml and serde of rhai

rhai:

Enable serialization/deserialization of Rhai data types via serde.

filesystem

Enables rhai-fs

Features from optional dependencies

glob implicit feature

Enables glob

glob:

Support for matching file paths against Unix shell style patterns