sscanf 0.5.0

A sscanf (inverse of format!()) macro with near unlimited parsing capabilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
fn main() {
    ///// More arguments than placeholders /////
    #[rustfmt::skip]
    sscanf::sscanf!("hi", "asdf{}", usize, std::vec::Vec<std::string::String>, u32);
    //~                                                                        ^^^ unused type
    //~                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unused type

    ///// Unused type argument with typed placeholders /////
    sscanf::sscanf!("hi", "asdf{u32}{}{usize}", usize, u32);
    //~                                                ^^^ unused type

    ////////////////////////////////////////////////////////////////////////////////
}