Crates.io | nodeagg |
lib.rs | nodeagg |
version | 0.2.0 |
source | src |
created_at | 2022-05-04 07:55:17.912304 |
updated_at | 2022-12-22 15:06:29.983337 |
description | Expand nodeset expression |
homepage | https://github.com/yamaura/nodeagg |
repository | https://github.com/yamaura/nodeagg |
max_upload_size | |
id | 580268 |
size | 40,608 |
Expand nodeset expression
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.
use nodeagg::Nodeagg;
let hostnames : Vec<String> =
Nodeagg::try_from("node[01-02],node03").unwrap().iter().collect();
assert_eq!(hostnames, vec!["node01", "node02", "node03"]);