xml-to-wire: add new utility
This commit is contained in:
parent
aa70bde75d
commit
6d8fb37db4
7 changed files with 829 additions and 11 deletions
15
xml-to-wire/src/main.rs
Normal file
15
xml-to-wire/src/main.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
use {
|
||||
crate::builder::{BuilderError, handle_file},
|
||||
std::env::args,
|
||||
};
|
||||
|
||||
mod ast;
|
||||
mod builder;
|
||||
mod parser;
|
||||
|
||||
fn main() -> Result<(), BuilderError> {
|
||||
for xml in args().skip(1) {
|
||||
handle_file(&xml)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue