Cargo Features

[dependencies]
motoko = { version = "0.0.28", default-features = false, features = ["reflection", "exe", "serde-paths", "parser", "to-motoko", "core-reflection"] }
default = parser, to-motoko

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

reflection = core-reflection, value-reflection
exe = rustyline

Required by the mo-rs binary

serde-paths = serde_path_to_error
parser default

Affects motoko::check, motoko::format, motoko::lexer, motoko::lexer_types, motoko::parser, motoko::parser_types, vm::eval_limit, vm::eval, vm::eval_into

to-motoko default

Affects convert::ser, value::ToMotoko

value-reflection core-reflection reflection?

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.

serde_path_to_error serde-paths?
rustyline exe?

Enables rustyline ^7.0.0