diff --git a/Cargo.toml b/Cargo.toml index b03c5d7..16066cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/examples/encrypted_publisher_example.rs b/examples/encrypted_publisher_example.rs index de5f680..b6431cb 100644 --- a/examples/encrypted_publisher_example.rs +++ b/examples/encrypted_publisher_example.rs @@ -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] diff --git a/examples/encrypted_subscriber_example.rs b/examples/encrypted_subscriber_example.rs index da8724d..413f08a 100644 --- a/examples/encrypted_subscriber_example.rs +++ b/examples/encrypted_subscriber_example.rs @@ -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; diff --git a/examples/publisher_example.rs b/examples/publisher_example.rs index 1c43ce0..2dc0ecf 100644 --- a/examples/publisher_example.rs +++ b/examples/publisher_example.rs @@ -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> { diff --git a/examples/subscriber_example.rs b/examples/subscriber_example.rs index fa0d60c..92e5677 100644 --- a/examples/subscriber_example.rs +++ b/examples/subscriber_example.rs @@ -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; diff --git a/rust-toolchain.toml b/rust-toolchain.toml deleted file mode 100644 index fcc85b9..0000000 --- a/rust-toolchain.toml +++ /dev/null @@ -1,2 +0,0 @@ -[toolchain] -channel = "1.77" diff --git a/tests/test_lib.rs b/tests/test_lib.rs index f7a1e71..718fff5 100644 --- a/tests/test_lib.rs +++ b/tests/test_lib.rs @@ -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>,