Added tracing to multi_window applications

This commit is contained in:
Bingus 2023-01-13 11:56:28 -08:00
parent f78ccd9af9
commit 790fa3e7a0
No known key found for this signature in database
GPG key ID: 5F84D2AA40A9F170
7 changed files with 94 additions and 36 deletions

View file

@ -1,6 +1,4 @@
//! Create interactive, native cross-platform applications.
#[cfg(feature = "trace")]
mod profiler;
mod state;
pub use state::State;
@ -27,7 +25,7 @@ pub use iced_native::application::{Appearance, StyleSheet};
use std::mem::ManuallyDrop;
#[cfg(feature = "trace")]
pub use profiler::Profiler;
pub use crate::Profiler;
#[cfg(feature = "trace")]
use tracing::{info_span, instrument::Instrument};