Implement debug view and load system fonts

This commit is contained in:
Héctor Ramón Jiménez 2019-11-03 04:39:11 +01:00
parent ef056d8489
commit 2c6bfdbc8c
17 changed files with 418 additions and 241 deletions

View file

@ -6,3 +6,14 @@ pub mod conversion;
mod application;
pub use application::Application;
// We disable debug capabilities on release builds unless the `debug` feature
// is explicitly enabled.
#[cfg_attr(any(debug_assertions, feature = "debug"), path = "debug/basic.rs")]
#[cfg_attr(
not(any(debug_assertions, feature = "debug")),
path = "debug/null.rs"
)]
mod debug;
use debug::Debug;