Skip to content

Commit

Permalink
Release 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aramperes committed Jul 31, 2021
1 parent 86115e8 commit f22867d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion nut-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nut-client"
version = "0.2.0"
version = "0.2.1"
authors = ["Aram Peres <[email protected]>"]
edition = "2018"
description = "Network UPS Tools (NUT) client library"
Expand Down
4 changes: 2 additions & 2 deletions nut-client/src/blocking/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ impl TcpConnection {
}

#[cfg(not(feature = "ssl"))]
fn enable_ssl(&mut self) -> crate::Result<()> {
Ok(())
fn enable_ssl(mut self) -> crate::Result<Self> {
Ok(self)
}

fn login(&mut self) -> crate::Result<()> {
Expand Down
4 changes: 2 additions & 2 deletions rupsc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rupsc"
version = "0.2.0"
version = "0.2.1"
authors = ["Aram Peres <[email protected]>"]
edition = "2018"
description = "A demo program to display UPS variables"
Expand All @@ -17,6 +17,6 @@ clap = "2.33.3"
anyhow = "1"

[dependencies.nut-client]
version = "0.2.0"
version = "0.2.1"
path = "../nut-client"
features = ["ssl"]

0 comments on commit f22867d

Please sign in to comment.