summaryrefslogtreecommitdiffstats
path: root/examples/tour
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-09-07 03:30:35 +0200
committerLibravatar GitHub <noreply@github.com>2023-09-07 03:30:35 +0200
commitd1822ad8116604590b7e9be51fc0aea4292a0760 (patch)
tree547c601fbcba58409225bc853c27286a2747a99d /examples/tour
parentc8fed143eb14d790da0592c5e24c741f6fda101e (diff)
parentd315e27451d46a815d18ed6037547d178413ede7 (diff)
downloadiced-d1822ad8116604590b7e9be51fc0aea4292a0760.tar.gz
iced-d1822ad8116604590b7e9be51fc0aea4292a0760.tar.bz2
iced-d1822ad8116604590b7e9be51fc0aea4292a0760.zip
Merge pull request #2069 from iced-rs/use-workspace-dependencies
Use workspace dependencies and package inheritance
Diffstat (limited to 'examples/tour')
-rw-r--r--examples/tour/Cargo.toml6
-rw-r--r--examples/tour/src/main.rs2
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())
}