Skip to content

Commit

Permalink
Adjust crate name to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
PLeVasseur committed Nov 15, 2024
1 parent b519324 commit 44b56a8
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ exclude = [
]
keywords = ["uProtocol", "SDK", "MQTT", "MQTT5"]
license = "Apache-2.0"
name = "up-client-mqtt5-rust"
name = "up-transport-mqtt5"
readme = "README.md"
repository = "https://github.com/eclipse-uprotocol/up-client-mqtt5-rust"
rust-version = "1.76"
Expand Down
2 changes: 1 addition & 1 deletion examples/encrypted_publisher_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use std::{env, str::FromStr, time::SystemTime};
use env_logger::{Builder, Target};
use log::LevelFilter;
use paho_mqtt::SslOptionsBuilder;
use up_client_mqtt5_rust::{MqttConfig, MqttProtocol, UPClientMqtt, UPClientMqttType};
use up_transport_mqtt5::{MqttConfig, MqttProtocol, UPClientMqtt, UPClientMqttType};
use up_rust::{UMessageBuilder, UPayloadFormat, UStatus, UTransport, UUri, UUID};

#[tokio::main]
Expand Down
2 changes: 1 addition & 1 deletion examples/encrypted_subscriber_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ use async_trait::async_trait;
use env_logger::{Builder, Target};
use log::LevelFilter;
use paho_mqtt::SslOptionsBuilder;
use up_client_mqtt5_rust::{MqttConfig, MqttProtocol, UPClientMqtt, UPClientMqttType};
use up_rust::{UListener, UMessage, UStatus, UTransport, UUri, UUID};
use up_transport_mqtt5::{MqttConfig, MqttProtocol, UPClientMqtt, UPClientMqttType};

const WILDCARD_ENTITY_ID: u32 = 0x0000_FFFF;
const WILDCARD_ENTITY_VERSION: u32 = 0x0000_00FF;
Expand Down
2 changes: 1 addition & 1 deletion examples/publisher_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ use std::{str::FromStr, time::SystemTime};

use env_logger::{Builder, Target};
use log::LevelFilter;
use up_client_mqtt5_rust::{MqttConfig, MqttProtocol, UPClientMqtt, UPClientMqttType};
use up_rust::{UMessageBuilder, UPayloadFormat, UStatus, UTransport, UUri, UUID};
use up_transport_mqtt5::{MqttConfig, MqttProtocol, UPClientMqtt, UPClientMqttType};

#[tokio::main]
async fn main() -> Result<(), UStatus> {
Expand Down
2 changes: 1 addition & 1 deletion examples/subscriber_example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ use std::{
use async_trait::async_trait;
use env_logger::{Builder, Target};
use log::LevelFilter;
use up_client_mqtt5_rust::{MqttConfig, MqttProtocol, UPClientMqtt, UPClientMqttType};
use up_rust::{UListener, UMessage, UStatus, UTransport, UUri, UUID};
use up_transport_mqtt5::{MqttConfig, MqttProtocol, UPClientMqtt, UPClientMqttType};

const WILDCARD_ENTITY_ID: u32 = 0x0000_FFFF;
const WILDCARD_ENTITY_VERSION: u32 = 0x0000_00FF;
Expand Down
2 changes: 0 additions & 2 deletions rust-toolchain.toml

This file was deleted.

2 changes: 1 addition & 1 deletion tests/test_lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use std::sync::{Arc, Mutex};

use async_trait::async_trait;
use up_client_mqtt5_rust::{MqttConfig, MqttProtocol, UPClientMqtt, UPClientMqttType};
use up_rust::{UListener, UMessage, UStatus, UUID};
use up_transport_mqtt5::{MqttConfig, MqttProtocol, UPClientMqtt, UPClientMqttType};

pub struct TestListener {
pub recv_data: Arc<Mutex<String>>,
Expand Down

0 comments on commit 44b56a8

Please sign in to comment.