Cargo Features

nu-protocol has no features set by default.

[dependencies]
nu-protocol = { version = "0.92.2", features = ["plugin"] }
plugin = serde_json

Affects command::Command.plugin_identity, engine_state::EngineState.plugin_signatures, example::PluginExample

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_json plugin?