diff options
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | core/Cargo.toml | 1 | ||||
-rw-r--r-- | widget/src/qr_code.rs | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -52,7 +52,7 @@ highlighter = ["iced_highlighter"] # Enables experimental multi-window support. multi-window = ["iced_winit/multi-window"] # Enables the advanced module -advanced = ["iced_widget/advanced"] +advanced = ["iced_core/advanced", "iced_widget/advanced"] # Enables embedding Fira Sans as the default font on Wasm builds fira-sans = ["iced_renderer/fira-sans"] # Enables auto-detecting light/dark mode for the built-in theme diff --git a/core/Cargo.toml b/core/Cargo.toml index 29a95ad7..32d233ee 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -12,6 +12,7 @@ keywords.workspace = true [features] auto-detect-theme = ["dep:dark-light"] +advanced = [] [dependencies] bitflags.workspace = true diff --git a/widget/src/qr_code.rs b/widget/src/qr_code.rs index 300028b9..e064aada 100644 --- a/widget/src/qr_code.rs +++ b/widget/src/qr_code.rs @@ -178,7 +178,7 @@ where /// The data of a [`QRCode`]. /// /// It stores the contents that will be displayed. -#[allow(missing_debug_implementations)] +#[derive(Debug)] pub struct Data { contents: Vec<qrcode::Color>, width: usize, |