diff --git a/dim_plugins/battery/src/lib.rs b/dim_plugins/battery/src/lib.rs index b7c0451..e53010f 100644 --- a/dim_plugins/battery/src/lib.rs +++ b/dim_plugins/battery/src/lib.rs @@ -5,10 +5,11 @@ use std::fs::read_to_string; plugin_info!( Plug, // Your main global structs name that implements `DimPlugin` "battery", // Plugin name - "0.0.0", // Plugin Version (leave empty for none) + "1.0.0", // Plugin Version (leave empty for none) "GPLv3" // Plugin license (leave empty for none) ); +#[derive(Debug, Clone)] struct Plug { } diff --git a/dim_plugins/clock/src/lib.rs b/dim_plugins/clock/src/lib.rs index 41f3cd5..9121d54 100644 --- a/dim_plugins/clock/src/lib.rs +++ b/dim_plugins/clock/src/lib.rs @@ -5,11 +5,11 @@ use dim_sdk::{plugin_info, Context, DimPlugin}; plugin_info!( Plug, // Your main global structs name that implements `DimPlugin` "clock", // Plugin name - "0.0.0", // Plugin Version (leave empty for none) + "1.0.0", // Plugin Version (leave empty for none) "GPLv3" // Plugin license (leave empty for none) ); - +#[derive(Debug, Clone)] struct Plug { } diff --git a/dim_plugins/counter/src/lib.rs b/dim_plugins/counter/src/lib.rs index b8266c5..4d0490a 100644 --- a/dim_plugins/counter/src/lib.rs +++ b/dim_plugins/counter/src/lib.rs @@ -5,10 +5,11 @@ use chrono::{NaiveDate, Local}; plugin_info!( Plug, // Your main global structs name that implements `DimPlugin` "counter", // Plugin name - "0.0.0", // Plugin Version (leave empty for none) + "1.0.0", // Plugin Version (leave empty for none) "GPLv3" // Plugin license (leave empty for none) ); +#[derive(Debug, Clone)] struct Plug { } diff --git a/dim_plugins/example_rust/src/lib.rs b/dim_plugins/example_rust/src/lib.rs index 022bc1e..ecccbae 100644 --- a/dim_plugins/example_rust/src/lib.rs +++ b/dim_plugins/example_rust/src/lib.rs @@ -8,6 +8,7 @@ plugin_info!( "GPLv3" // Plugin license (leave empty for none) ); +#[derive(Debug, Clone)] struct Plug { counter: usize, }