This is an automated email from the ASF dual-hosted git repository.
liujun pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-rust.git
from fd2958a Merge pull request #21 from yang20150702/main
new 6278851 refactor(triple): add router, support grpc compression, start
multi server at the same time
new 24a2ef3 Merge branch 'apache:main' into main
new 3f4879d refator(triple): support compression option in server and
client init process
new bfd9b35 style: cargo fmt --check
new 4af80c9 refactor(common): update url model, add some funcs
new ec5d833 Merge pull request #22 from yang20150702/main
The 44 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
config/src/config.rs | 25 +++++-
config/src/service.rs | 11 +--
dubbo/src/common/url.rs | 93 +++++++++++++++++++-
dubbo/src/echo/echo_client.rs | 8 +-
dubbo/src/echo/echo_server.rs | 4 +-
dubbo/src/echo/mod.rs | 55 ++++++++----
dubbo/src/helloworld/client.rs | 4 +-
dubbo/src/protocol/grpc/grpc_invoker.rs | 2 +-
dubbo/src/protocol/grpc/grpc_server.rs | 2 +-
dubbo/src/protocol/grpc/mod.rs | 7 +-
dubbo/src/protocol/triple/mod.rs | 2 -
dubbo/src/protocol/triple/triple_protocol.rs | 7 +-
dubbo/src/protocol/triple/triple_server.rs | 3 +-
triple/Cargo.toml | 1 +
triple/src/client/grpc.rs | 33 +++++++-
triple/src/lib.rs | 9 ++
triple/src/main.rs | 36 --------
triple/src/server/compression.rs | 122 +++++++++++++++++++++++++++
triple/src/server/decode.rs | 52 ++++++++++--
triple/src/server/encode.rs | 33 ++++++--
triple/src/server/mod.rs | 1 +
triple/src/server/server.rs | 74 +++++++++++++++-
triple/src/transport/mod.rs | 1 +
triple/src/transport/router.rs | 94 +++++++++++++++++++++
triple/src/transport/service.rs | 23 +++--
25 files changed, 588 insertions(+), 114 deletions(-)
delete mode 100644 triple/src/main.rs
create mode 100644 triple/src/server/compression.rs
create mode 100644 triple/src/transport/router.rs