netform_dialect_eos 0.4.0

Arista EOS dialect profile for netform lossless config parsing
Documentation

Arista EOS-oriented dialect profile for netform_ir.

This crate re-exports [IosLikeDialect] parameterised to "eos" and provides the [parse_eos] convenience function.

Example

use netform_dialect_eos::parse_eos;

let cfg = "interface Ethernet1\n   description \"Uplink\"\n";
let doc = parse_eos(cfg);
assert_eq!(doc.render(), cfg);