5 releases (breaking)

0.4.0 Jul 16, 2024
0.3.0 Mar 30, 2023
0.2.0 Oct 14, 2022
0.1.0 Sep 28, 2022
0.0.1 Jan 13, 2021

#285 in Network programming


Used in 2 crates

Apache-2.0

375KB
8K SLoC

Apache Dubbo-rust

logo

Apache Dubbo-rust, an RPC framework that implements Dubbo written in Rust.Please visit the official website for more information.

Build Status License

[ 中文 ]

Overview

Dubbo-rust is still under development. For now, gRPC calls based on HTTP2 have been implemented.

The following libraries are mainly dependent on:

  • Tokio is an event-driven, non-blocking I/O platform for writing asynchronous applications with Rust.

  • Prost is a Protocol Buffers implementation for Rust.

  • Hyper is a fast and correct HTTP implementation for Rust.

  • Serde is a framework for serializing and deserializing Rust data structures efficiently and generically.

Features

  • ✅ RPC synchronous / asynchronous call
  • ✅ IDL code automatic generation
  • 🚧 Multiple RPC protocol support (like Triple, Dubbo, gRPC, JSONRPC)
  • 🚧 Support TCP/HTTP2 transport protocol
  • 🚧 Service registration and discovery

Get started

  • Dubbo-rust Quick Start: 中文, English
  • Dubbo-rust Tutorials: Examples

Project structure

.
├── Cargo.toml
├── LICENSE
├── README.md
├── README_CN.md
├── common
│   ├── Cargo.toml
│   └── src
│       └── lib.rs
├── config
│   ├── Cargo.toml
│   └── src
│       ├── config.rs
│       ├── lib.rs
│       ├── protocol.rs
│       └── service.rs
├── contributing.md
├── docs
│   ├── filter-design.md
│   ├── generic-protocol-design.md
│   ├── readme.md
│   └── services.md
more ...

Contact Us

  • Subscribe to the official Wechat Account officialAccount

  • Search and join the DingTalk group: 44694199

Contribute

Welcome more developers to join us. About more details please check "How to contribute".

License

Apache Dubbo-rust software is licenced under the Apache License Version 2.0. See the LICENSE file for details.

Dependencies

~25–56MB
~1M SLoC