Skip to content

Commit c1217b9

Browse files
committed
version 0.8.0: for nushell 0.95.0
1 parent 197951a commit c1217b9

3 files changed

Lines changed: 60 additions & 26 deletions

File tree

Cargo.lock

Lines changed: 53 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nu_plugin_dbus"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
edition = "2021"
55

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

1515
[dependencies]
1616
dbus = "0.9.7"
17-
nu-plugin = "0.94.0"
18-
nu-protocol = { version = "0.94.0", features = ["plugin"] }
17+
nu-plugin = "0.95.0"
18+
nu-protocol = { version = "0.95.0", features = ["plugin"] }
1919
serde = { version = "1.0.196", features = ["derive"] }
2020
serde-xml-rs = "0.6.0"

src/main.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ fn main() {
1717
pub struct NuPluginDbus;
1818

1919
impl Plugin for NuPluginDbus {
20+
fn version(&self) -> String {
21+
env!("CARGO_PKG_VERSION").into()
22+
}
23+
2024
fn commands(&self) -> Vec<Box<dyn PluginCommand<Plugin = Self>>> {
2125
vec![
2226
Box::new(commands::Main),

0 commit comments

Comments
 (0)