diff options
author | 2023-09-07 03:30:35 +0200 | |
---|---|---|
committer | 2023-09-07 03:30:35 +0200 | |
commit | d1822ad8116604590b7e9be51fc0aea4292a0760 (patch) | |
tree | 547c601fbcba58409225bc853c27286a2747a99d /examples/multitouch | |
parent | c8fed143eb14d790da0592c5e24c741f6fda101e (diff) | |
parent | d315e27451d46a815d18ed6037547d178413ede7 (diff) | |
download | iced-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/multitouch')
-rw-r--r-- | examples/multitouch/Cargo.toml | 7 | ||||
-rw-r--r-- | examples/multitouch/src/main.rs | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/examples/multitouch/Cargo.toml b/examples/multitouch/Cargo.toml index 867312f8..e0d14f58 100644 --- a/examples/multitouch/Cargo.toml +++ b/examples/multitouch/Cargo.toml @@ -6,7 +6,8 @@ edition = "2021" publish = false [dependencies] -iced = { path = "../..", features = ["canvas", "tokio", "debug"] } -tokio = { version = "1.0", features = ["sync"] } -env_logger = "0.10" +iced.workspace = true +iced.features = ["debug", "canvas", "tokio"] + +tracing-subscriber = "0.3" voronator = "0.2" diff --git a/examples/multitouch/src/main.rs b/examples/multitouch/src/main.rs index 2830b78d..ba8df7aa 100644 --- a/examples/multitouch/src/main.rs +++ b/examples/multitouch/src/main.rs @@ -13,7 +13,7 @@ use iced::{ use std::collections::HashMap; pub fn main() -> iced::Result { - env_logger::builder().format_timestamp(None).init(); + tracing_subscriber::fmt::init(); Multitouch::run(Settings { antialiasing: true, |