parse_topic/
parse_topic.rs

1use hebo_codec::topic::Topic;
2
3fn main() {
4    let t_sys = Topic::parse("$SYS/dev/cpu/+").unwrap();
5    println!("t_sys: {:?}", t_sys);
6    assert!(t_sys.is_match("$SYS/dev/cpu/01"));
7}