Apache Dubbo-rust
Apache Dubbo-rust, an RPC framework that implements Dubbo written in Rust.Please visit the official website for more information.
[ 中文 ]
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
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
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.