Registry / other / nu-protocol

nu-protocol

JSON →
library0.113.1rscratesunverified

Nushell's internal protocols, including its abstract syntax tree and data structures.

# Cargo.toml [dependencies] nu-protocol = "0.113.1"
INSTALL
IMPORT
SIG · NU-PROTOCOL
N
nu-protocol
otherrustv0.113.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Expr
✓ use nu_protocol::ast::Expr;

Creates an AST expression representing an integer.

use nu_protocol::ast::Expr; fn main() { let expr = Expr::Int(42); println!("Expression: {:?}", expr); }
Debug
Known issues
breakingPart of the Nushell ecosystem; may have frequent breaking changes between versions.
fix
Pin to a specific version and check Nushell release notes for API changes.
affects: >=0.100.0
Upgrade
Version history
0.113.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
nu-protocol — cargo add nu-protocol · libregistry