With relative import of the bitflags crate, the macros would try to fetch nonexistent paths, preventing tests form compiling.
The new `lib.rs` file is created to refer to all modules written in Rust. This way, only one `rustc` call is needed to compile an arbitrary amount of modules. It also converges with the way crates are structured.