Skip to content

Commit 39c984c

Browse files
authored
[ISSUE #121] Rename crate rocketmq to rocketmq-rust (#122)
1 parent 9586afa commit 39c984c

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

rocketmq-common/src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
#![allow(dead_code)]
1919
#![allow(unused_imports)]
2020

21-
/// Re-export rocketmq main.
22-
pub use rocketmq::main;
23-
/// Re-export tokio module.
24-
pub use tokio as rocketmq;
25-
2621
pub use crate::thread_pool::{
2722
FuturesExecutorService, FuturesExecutorServiceBuilder, ScheduledExecutorService,
2823
TokioExecutorService,

rocketmq-namesrv/Cargo.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ readme = "README.md"
1212
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1313

1414
[dependencies]
15-
rocketmq-common = { version = "0.1.0", path = "../rocketmq-common" }
16-
rocketmq-remoting = { version = "0.1.0", path = "../rocketmq-remoting" }
17-
rocketmq = { version = "0.1.0", path = "../rocketmq" }
15+
rocketmq-rust = { version = "*", path = "../rocketmq" }
16+
rocketmq-common = { version = "*", path = "../rocketmq-common" }
17+
rocketmq-remoting = { version = "*", path = "../rocketmq-remoting" }
18+
1819

1920

2021
anyhow.workspace = true

rocketmq-namesrv/src/bin/bootstrap_server.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ use rocketmq_remoting::{
3131
code::request_code::RequestCode,
3232
runtime::{processor::RequestProcessor, server},
3333
};
34+
use rocketmq_rust::rocketmq;
3435
use tokio::{net::TcpListener, sync::broadcast, task::JoinHandle};
3536
use tracing::info;
3637

rocketmq/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "rocketmq"
2+
name = "rocketmq-rust"
33
version = "0.1.0"
44
authors.workspace = true
55
edition.workspace = true

0 commit comments

Comments
 (0)