nodeagg

Crates.ionodeagg
lib.rsnodeagg
version0.2.0
sourcesrc
created_at2022-05-04 07:55:17.912304
updated_at2022-12-22 15:06:29.983337
descriptionExpand nodeset expression
homepagehttps://github.com/yamaura/nodeagg
repositoryhttps://github.com/yamaura/nodeagg
max_upload_size
id580268
size40,608
Yuki Yamaura (yamaura)

documentation

README

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"]);
Commit count: 2

cargo fmt