diff options
author | 2023-09-04 12:58:41 +0200 | |
---|---|---|
committer | 2023-09-04 13:08:17 +0200 | |
commit | f468e25d0c67a01ee79d892f6e8ba9be019f06c7 (patch) | |
tree | c099dc3a7c4ef6faa5ce762832a286d0a55ec316 /examples/tour | |
parent | a56b25b9096d47ada3c4349f5b91110dfaa92bf6 (diff) | |
download | iced-f468e25d0c67a01ee79d892f6e8ba9be019f06c7.tar.gz iced-f468e25d0c67a01ee79d892f6e8ba9be019f06c7.tar.bz2 iced-f468e25d0c67a01ee79d892f6e8ba9be019f06c7.zip |
Use workspace dependencies and package inheritance
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
Diffstat (limited to '')
-rw-r--r-- | examples/tour/Cargo.toml | 6 | ||||
-rw-r--r-- | examples/tour/src/main.rs | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/examples/tour/Cargo.toml b/examples/tour/Cargo.toml index 48471f2d..21206ecb 100644 --- a/examples/tour/Cargo.toml +++ b/examples/tour/Cargo.toml @@ -6,5 +6,7 @@ edition = "2021" publish = false [dependencies] -iced = { path = "../..", features = ["image", "debug"] } -env_logger = "0.10.0" +iced.workspace = true +iced.features = ["image", "debug"] + +tracing-subscriber = "0.3" diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs index 13bcd5ff..af508206 100644 --- a/examples/tour/src/main.rs +++ b/examples/tour/src/main.rs @@ -8,7 +8,7 @@ use iced::widget::{Button, Column, Container, Slider}; use iced::{Color, Element, Font, Length, Renderer, Sandbox, Settings}; pub fn main() -> iced::Result { - env_logger::init(); + tracing_subscriber::fmt::init(); Tour::run(Settings::default()) } |