2 unstable releases

0.2.0 Dec 22, 2022
0.1.0 May 4, 2022

#1764 in Parser implementations

MIT/Apache

20KB
473 lines

nodeagg

Expand nodeset expression

State of this crate

Currently, only node-set expression expansion is supported. And also operation expression has not been supported yet.

Iterator structure and function will be changed future.

How to use this crate

use nodeagg::Nodeagg;

let hostnames : Vec<String> =
Nodeagg::try_from("node[01-02],node03").unwrap().iter().collect();
assert_eq!(hostnames, vec!["node01", "node02", "node03"]);

Dependencies

~1–1.5MB
~29K SLoC