Skip to content

Commit

Permalink
Minor tweaks for packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
fpagliughi committed Nov 22, 2018
1 parent 6a19521 commit b38e38a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
18 changes: 13 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
[package]
name = "mqtt-redis"
version = "0.2.0"
authors = ["fmp <[email protected]>"]
name = "paho-mqtt-redis"
version = "0.2.1"
authors = ["Frank Pagliughi <[email protected]>"]
homepage = "https://github.com/fpagliughi/mqtt.rust.redis"
repository = "https://github.com/fpagliughi/mqtt.rust.redis"
keywords = [ "MQTT", "IoT", "Paho", "persistence" ]
license = "BSD-3-Clause"
description = """
A library for providing persistence to a Paho MQTT Rust client using
Redis as the backing store.
"""

[dependencies]
#paho-mqtt = { path = "/home/fmp/mqtt/paho-rust" }
paho-mqtt = { git = "https://github.com/eclipse/paho.mqtt.rust" }
#paho-mqtt = { git = "https://github.com/eclipse/paho.mqtt.rust" }
paho-mqtt = "0.4"
redis = "0.8.0"
log = "0.3"
env_logger = "0.3"
Expand Down
4 changes: 2 additions & 2 deletions examples/redis_persist_pub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ extern crate log;
extern crate env_logger;

extern crate paho_mqtt as mqtt;
extern crate mqtt_redis;
extern crate paho_mqtt_redis;

use std::process;
use mqtt_redis::RedisPersistence;
use paho_mqtt_redis::RedisPersistence;

// Use non-zero QoS to exercise message persistence
const QOS: i32 = 1;
Expand Down

0 comments on commit b38e38a

Please sign in to comment.