wadl 0.5.7

A WADL parser for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Generate rust code from wadl
use clap::Parser;
use std::path::PathBuf;

#[derive(Parser)]
struct Args {
    input: PathBuf,
}

fn main() {
    env_logger::init();
    let input = Args::parse().input;

    let app: wadl::ast::Application = wadl::parse_file(input).unwrap();

    println!("{:#?}", app);
}