diff options
| author | 2023-09-07 03:30:35 +0200 | |
|---|---|---|
| committer | 2023-09-07 03:30:35 +0200 | |
| commit | d1822ad8116604590b7e9be51fc0aea4292a0760 (patch) | |
| tree | 547c601fbcba58409225bc853c27286a2747a99d /examples/game_of_life | |
| 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 '')
| -rw-r--r-- | examples/game_of_life/Cargo.toml | 12 | ||||
| -rw-r--r-- | examples/game_of_life/src/main.rs | 2 | 
2 files changed, 8 insertions, 6 deletions
diff --git a/examples/game_of_life/Cargo.toml b/examples/game_of_life/Cargo.toml index 6de45db6..9b291de8 100644 --- a/examples/game_of_life/Cargo.toml +++ b/examples/game_of_life/Cargo.toml @@ -6,8 +6,10 @@ edition = "2021"  publish = false  [dependencies] -iced = { path = "../..", features = ["canvas", "tokio", "debug"] } -tokio = { version = "1.0", features = ["sync"] } -itertools = "0.9" -rustc-hash = "1.1" -env_logger = "0.10" +iced.workspace = true +iced.features = ["debug", "canvas", "tokio"] + +itertools = "0.11" +rustc-hash.workspace = true +tokio = { workspace = true, features = ["sync"] } +tracing-subscriber = "0.3" diff --git a/examples/game_of_life/src/main.rs b/examples/game_of_life/src/main.rs index e951d734..a2038f12 100644 --- a/examples/game_of_life/src/main.rs +++ b/examples/game_of_life/src/main.rs @@ -18,7 +18,7 @@ use iced::{  use std::time::{Duration, Instant};  pub fn main() -> iced::Result { -    env_logger::builder().format_timestamp(None).init(); +    tracing_subscriber::fmt::init();      GameOfLife::run(Settings {          antialiasing: true,  | 
