Skip to content

Commit

Permalink
version 0.8.0: for nushell 0.95.0
Browse files Browse the repository at this point in the history
  • Loading branch information
devyn committed Jun 26, 2024
1 parent 197951a commit c1217b9
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 26 deletions.
76 changes: 53 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nu_plugin_dbus"
version = "0.7.0"
version = "0.8.0"
edition = "2021"

description = "Nushell plugin for communicating with D-Bus"
Expand All @@ -14,7 +14,7 @@ repository = "https://github.com/devyn/nu_plugin_dbus"

[dependencies]
dbus = "0.9.7"
nu-plugin = "0.94.0"
nu-protocol = { version = "0.94.0", features = ["plugin"] }
nu-plugin = "0.95.0"
nu-protocol = { version = "0.95.0", features = ["plugin"] }
serde = { version = "1.0.196", features = ["derive"] }
serde-xml-rs = "0.6.0"
4 changes: 4 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ fn main() {
pub struct NuPluginDbus;

impl Plugin for NuPluginDbus {
fn version(&self) -> String {
env!("CARGO_PKG_VERSION").into()
}

fn commands(&self) -> Vec<Box<dyn PluginCommand<Plugin = Self>>> {
vec![
Box::new(commands::Main),
Expand Down

0 comments on commit c1217b9

Please sign in to comment.