generator: Switch #[macro_use] to use
and exclude nom::dbg
This avoids an obnoxious error when attemting to use `dbg!()` while debugging the generator. Unfortunately there seems to be no way to import * except `dbg`, or shadow `dbg` (using eg. `use nom::{dbg as _nom_dbg, *};`).
This commit is contained in:
parent
b9ac0c3892
commit
2ae160cfc4
|
@ -1,11 +1,7 @@
|
|||
#![recursion_limit = "256"]
|
||||
|
||||
#[macro_use]
|
||||
extern crate nom;
|
||||
#[macro_use]
|
||||
extern crate quote;
|
||||
pub use vk_parse;
|
||||
pub use vkxml;
|
||||
use nom::{alt, char, do_parse, map, named, opt, tag, take_while1, terminated};
|
||||
use quote::*;
|
||||
|
||||
use heck::{CamelCase, ShoutySnakeCase, SnakeCase};
|
||||
use itertools::Itertools;
|
||||
|
|
Loading…
Reference in a new issue