Skip to content

Commit d73405c

Browse files
committed
[ISSUE #752]🍻init rocketmq-example crate🤡
1 parent e64c26d commit d73405c

5 files changed

Lines changed: 27 additions & 1 deletion

File tree

Cargo.lock

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ members = [
44
"rocketmq-broker",
55
"rocketmq-cli",
66
"rocketmq-common",
7+
"rocketmq-example",
78
"rocketmq-filter",
89
"rocketmq-macros",
910
"rocketmq-namesrv",
@@ -65,4 +66,4 @@ trait-variant = "0.1.2"
6566
once_cell = "1.19.0"
6667

6768
mockall = "0.12.1"
68-
cfg-if = "1.0.0"
69+
cfg-if = "1.0.0"

rocketmq-example/Cargo.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
name = "rocketmq-example"
3+
version.workspace = true
4+
authors.workspace = true
5+
edition.workspace = true
6+
homepage.workspace = true
7+
repository.workspace = true
8+
license.workspace = true
9+
keywords.workspace = true
10+
readme.workspace = true
11+
description.workspace = true
12+
13+
[dependencies]

rocketmq-example/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Apache RocketMQ-Rust Examples
2+
3+
## Overview
4+
5+
Apache RocketMQ-Rust Examples is a collection of examples that demonstrate how to use Apache RocketMQ-Rust.

rocketmq-example/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
println!("Hello, world!");
3+
}

0 commit comments

Comments
 (0)