Skip to content

Commit

Permalink
[ISSUE #752]🍻init rocketmq-example crate🤡 (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsm authored Jul 9, 2024
1 parent e64c26d commit 9a588d2
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ members = [
"rocketmq-broker",
"rocketmq-cli",
"rocketmq-common",
"rocketmq-example",
"rocketmq-filter",
"rocketmq-macros",
"rocketmq-namesrv",
Expand Down Expand Up @@ -65,4 +66,4 @@ trait-variant = "0.1.2"
once_cell = "1.19.0"

mockall = "0.12.1"
cfg-if = "1.0.0"
cfg-if = "1.0.0"
13 changes: 13 additions & 0 deletions rocketmq-example/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "rocketmq-example"
version.workspace = true
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true
license.workspace = true
keywords.workspace = true
readme.workspace = true
description.workspace = true

[dependencies]
5 changes: 5 additions & 0 deletions rocketmq-example/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Apache RocketMQ-Rust Examples

## Overview

Apache RocketMQ-Rust Examples is a collection of examples that demonstrate how to use Apache RocketMQ-Rust.
3 changes: 3 additions & 0 deletions rocketmq-example/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}

0 comments on commit 9a588d2

Please sign in to comment.