{"id":57970,"library":"nu-protocol","title":"Nu Protocol","description":"Nushell's internal protocols, including its abstract syntax tree and data structures.","status":"active","version":"0.113.1","language":"rust","source_language":null,"source_url":"https://github.com/nushell/nushell","tags":["nushell","ast","protocol","shell"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nnu-protocol = \"0.113.1\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add nu-protocol","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Expr","correct":"use nu_protocol::ast::Expr;"}],"quickstart":{"code":"use nu_protocol::ast::Expr;\n\nfn main() {\n    let expr = Expr::Int(42);\n    println!(\"Expression: {:?}\", expr);\n}","lang":"rust","description":"Creates an AST expression representing an integer."},"warnings":[{"fix":"Pin to a specific version and check Nushell release notes for API changes.","message":"Part of the Nushell ecosystem; may have frequent breaking changes between versions.","severity":"breaking","affected_versions":">=0.100.0"}],"env_vars":null,"search_vec":"'abstract':9 'ast':16 'data':13 'includ':7 'intern':5 'nu':1 'nushel':3,15 'protocol':2,6,17 'shell':18 'structur':14 'syntax':10 'tree':11","created_at":"2026-06-16T16:06:25.965489+00:00","updated_at":"2026-06-16T16:06:25.965489+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/nushell/nushell","github":"https://github.com/nushell/nushell","docs":"https://docs.rs/nu-protocol/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}