Cargo Features

flowr = { version = "0.142.0", default-features = false, features = ["debugger", "metrics", "submission", "context", "flowstdlib"] }
default = context, debugger, flowstdlib, metrics, submission

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

debugger default = rustyline

feature to add the debugger, requires flowcore crate to have feature enabled also, rustyline optional dependency too

Enables debugger of flowcore

Affects connections::DEBUG_SERVICE_NAME, cli::debug_message, cli::cli_debug_client, cli::cli_debug_handler, flowr::debug_command, flowr::debugger_handler, submission_handler::SubmissionHandler.should_enter_debugger

metrics default

feature for tracking of metrics during execution

submission default

feature to include ability to receive a submission of a flow

Affects flowr::submission_handler

context default

feature to include context functions, make sure flowcore is compiled with it if we plan to use it

Enables flowcore

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

flowstdlib default
rustyline debugger

Enables rustyline ^12.0.0

Optional dependencies
for debugger