Skip to content

Commit

Permalink
Release version 0.4.0 (#201)
Browse files Browse the repository at this point in the history
* chore: update name in cargo.toml

* refact: update examples

* style: cargo fmt
  • Loading branch information
yang20150702 authored Jul 8, 2024
1 parent 0e2050a commit 5c87b71
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/echo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async-trait = "0.1.56"
tokio-stream = "0.1"

dubbo = {path = "../../dubbo"}
registry-zookeeper.workspace=true
dubbo-registry-zookeeper = {path="../../registry/zookeeper"}

[build-dependencies]
dubbo-build = {path = "../../dubbo-build", version = "0.3.0" }
4 changes: 2 additions & 2 deletions examples/greeter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ prost-serde-derive = "0.1.2"
async-trait = "0.1.56"
tokio-stream = "0.1"
dubbo = { path = "../../dubbo"}
registry-zookeeper.workspace = true
registry-nacos.workspace = true
dubbo-registry-zookeeper = {path="../../registry/zookeeper"}
dubbo-registry-nacos = {path="../../registry/nacos"}

[build-dependencies]
dubbo-build = { path = "../../dubbo-build", version = "0.3.0" }
2 changes: 1 addition & 1 deletion examples/greeter/src/greeter/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ pub mod protos {
use dubbo::codegen::*;

use dubbo::{extension, extension::registry_extension::RegistryExtension};
use dubbo_registry_nacos::NacosRegistry;
use futures_util::StreamExt;
use protos::{greeter_client::GreeterClient, GreeterRequest};
use registry_nacos::NacosRegistry;

#[tokio::main]
async fn main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/greeter/src/greeter/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
use std::{io::ErrorKind, pin::Pin};

use async_trait::async_trait;
use dubbo_registry_nacos::NacosRegistry;
use futures_util::{Stream, StreamExt};
use registry_nacos::NacosRegistry;
use tokio::sync::mpsc;
use tokio_stream::wrappers::ReceiverStream;

Expand Down
2 changes: 1 addition & 1 deletion registry/nacos/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "registry-nacos"
name = "dubbo-registry-nacos"
version = "0.3.0"
edition = "2021"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion registry/zookeeper/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "registry-zookeeper"
name = "dubbo-registry-zookeeper"
version = "0.3.0"
edition = "2021"
license = "Apache-2.0"
Expand Down

0 comments on commit 5c87b71

Please sign in to comment.