mirror of
https://github.com/aramperes/nut-rs.git
synced 2025-09-08 05:08:31 -04:00
Release 0.2.1
This commit is contained in:
parent
86115e8f48
commit
f22867d2d2
4 changed files with 7 additions and 7 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -114,7 +114,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nut-client"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
dependencies = [
|
||||
"rustls",
|
||||
"shell-words",
|
||||
|
@ -162,7 +162,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "rupsc"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"clap",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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<()> {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "rupsc"
|
||||
version = "0.2.0"
|
||||
version = "0.2.1"
|
||||
authors = ["Aram Peres <aram.peres@wavy.fm>"]
|
||||
edition = "2018"
|
||||
description = "A demo program to display UPS variables"
|
||||
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue