/dubbo-rust

Apache Dubbo Rust implementation

Primary LanguageRustApache License 2.0Apache-2.0

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.