fix logical error of get_protocol_or_default (#137)

Co-authored-by: GXD <gexiangdong@highlight.mobi>
1 file changed
tree: d0b6feed164062d40b4c4e04d0c244883886190e
  1. .github/
  2. common/
  3. config/
  4. docs/
  5. dubbo/
  6. dubbo-build/
  7. examples/
  8. metadata/
  9. protocol/
  10. registry/
  11. remoting/
  12. .asf.yaml
  13. .gitignore
  14. .licenserc.yaml
  15. .rustfmt.toml
  16. application.yaml
  17. Cargo.toml
  18. CONTRIBUTING.md
  19. LICENSE
  20. NOTICE
  21. README.md
  22. README_CN.md
  23. release.toml
README.md

Apache Dubbo-rust

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

  • :white_check_mark: RPC synchronous / asynchronous call
  • :white_check_mark: IDL code automatic generation
  • :construction: Multiple RPC protocol support (like Triple, Dubbo, gRPC, JSONRPC)
  • :construction: Support TCP/HTTP2 transport protocol
  • :construction: 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

  • 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.