You can disable some warnings conditionally, e.g. stop Rust from complaining about unfinished code, but only in dev mode:
#![cfg_attr(debug_assertions, allow(dead_code))]
#![cfg_attr(debug_assertions, allow(unused_mut))]
#![cfg_attr(debug_assertions, allow(unused_variables))]
#![cfg_attr(debug_assertions, allow(unused_imports))]
#![cfg_attr(debug_assertions, allow(unused_parens))]
cfg_attr
works with any config variable, such as feature flags, target OSes, and test builds.