Release 0.2.1

This commit is contained in:
Aram 🍐 2021-07-31 10:06:24 -04:00
parent 86115e8f48
commit f22867d2d2
4 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "nut-client"
version = "0.2.0"
version = "0.2.1"
authors = ["Aram Peres <aram.peres@wavy.fm>"]
edition = "2018"
description = "Network UPS Tools (NUT) client library"

View file

@ -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<()> {