| Crates.io | netgauze-netconf-proto |
| lib.rs | netgauze-netconf-proto |
| version | 0.9.0 |
| created_at | 2025-11-25 13:16:17.198996+00 |
| updated_at | 2026-01-19 10:37:50.943917+00 |
| description | NETCONF low-level protocol implementation |
| homepage | https://github.com/NetGauze/NetGauze |
| repository | https://github.com/NetGauze/NetGauze |
| max_upload_size | |
| id | 1949714 |
| size | 512,105 |
Low-level NETCONF protocol implementation for Rust with XML serialization and deserialization support.
Hello - NETCONF session establishmentRpc - RPC request messagesRpcReply - RPC response messages with support for ok/error responsesRpcError - Detailed error information per RFC 6241use netgauze_netconf_proto::protocol::{NetConfMessage, Hello};
use netgauze_netconf_proto::xml_utils::{XmlParser, XmlDeserialize};
use quick_xml::NsReader;
let xml = r#"
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<capabilities>
<capability>urn:ietf:params:netconf:base:1.0</capability>
</capabilities>
</hello>"#;
let mut reader = NsReader::from_str(xml);
let mut parser = XmlParser::new(reader)?;
let hello = Hello::xml_deserialize(&mut parser)?;