Skip to content
This repository has been archived by the owner on Jan 17, 2020. It is now read-only.

Commit

Permalink
Bug: Remove unsupported call
Browse files Browse the repository at this point in the history
  • Loading branch information
raviteja committed Jan 29, 2019
1 parent 9232981 commit c5bcd9f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "rumqtt"
description = "Mqtt client for your IOT needs"
version = "0.30.0"
version = "0.30.1"
authors = ["raviteja <[email protected]"]
documentation = "https://docs.rs/rumqtt/0.30.0/rumqtt/"
documentation = "https://docs.rs/rumqtt"
edition = "2018"
license = "Unlicense"

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ Pure rust [MQTT] client

[MQTT]: http://mqtt.org/

[![Documentation](https://docs.rs/rumqtt/badge.svg)](https://docs.rs/rumqtt)

#### What is supported

- [x] QoS 0, 1, 2
Expand Down
7 changes: 0 additions & 7 deletions src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,6 @@ impl MqttClient {
tx.send(Command::Resume).wait()?;
Ok(())
}

/// Requests the event loop for disconnection
pub fn disconnect(&mut self) -> Result<(), ClientError> {
let tx = &mut self.request_tx;
tx.send(Request::Disconnect).wait()?;
Ok(())
}
}

// use std::fmt;
Expand Down

0 comments on commit c5bcd9f

Please sign in to comment.