diff options
| -rw-r--r-- | clock/Cargo.toml | 2 | ||||
| -rw-r--r-- | pulse/Cargo.toml | 2 | ||||
| -rw-r--r-- | swaystatus-plugin/Cargo.toml | 2 | ||||
| -rw-r--r-- | swaystatus-plugin/src/lib.rs | 2 | ||||
| -rw-r--r-- | swaystatus/Cargo.toml | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/clock/Cargo.toml b/clock/Cargo.toml index 1057b4a..fa614aa 100644 --- a/clock/Cargo.toml +++ b/clock/Cargo.toml @@ -2,7 +2,7 @@ name = "swaystatus-clock" version = "0.1.0" authors = ["Andreas Grois <andi@grois.info>"] -edition = "2018" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/pulse/Cargo.toml b/pulse/Cargo.toml index 9aa4520..c6cff4b 100644 --- a/pulse/Cargo.toml +++ b/pulse/Cargo.toml @@ -2,7 +2,7 @@ name = "swaystatus-pulse" version = "0.1.0" authors = ["Andreas Grois <andi@grois.info>"] -edition = "2018" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/swaystatus-plugin/Cargo.toml b/swaystatus-plugin/Cargo.toml index c521baa..8b2f7d9 100644 --- a/swaystatus-plugin/Cargo.toml +++ b/swaystatus-plugin/Cargo.toml @@ -2,7 +2,7 @@ name = "swaystatus-plugin" version = "0.1.0" authors = ["Andreas Grois <andi@grois.info>"] -edition = "2018" +edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/swaystatus-plugin/src/lib.rs b/swaystatus-plugin/src/lib.rs index 8a632cf..e54e057 100644 --- a/swaystatus-plugin/src/lib.rs +++ b/swaystatus-plugin/src/lib.rs @@ -60,7 +60,7 @@ macro_rules! declare_swaystatus_module { // make sure the constructor is the correct type. let constructor: fn() -> $plugin_type = $constructor; let object = constructor(); - let boxed: Box<$crate::SwayStatusModule> = Box::new(object); + let boxed: Box<dyn $crate::SwayStatusModule> = Box::new(object); Box::into_raw(boxed) } #[no_mangle] diff --git a/swaystatus/Cargo.toml b/swaystatus/Cargo.toml index 0d0216f..32c7bcb 100644 --- a/swaystatus/Cargo.toml +++ b/swaystatus/Cargo.toml @@ -2,7 +2,7 @@ name = "swaystatus" version = "0.1.0" authors = ["Andreas Grois <andi@grois.info>"] -edition = "2018" +edition = "2021" description = "Fully modular status bar text updater, similar to i3bar." # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
