1 个不稳定版本
0.1.0 | 2023年3月3日 |
---|
#332 in WebSocket
17KB
304 行
dcl-rpc
Decentraland RPC 的 Rust 实现。在 Decentraland 中,我们有自己的 RPC 实现,用于不同服务之间的通信。
目前还有其他实现
要求
- 安装 protoc 二进制文件
MacOS
brew install protobuf
基于 Debian 的 Linux
sudo apt-get install protobuf-compiler
- 安装 Just
仅用于命令的安装
cargo install just
构建
cargobuild
示例
运行集成示例:Rust 中的 RPC 客户端和 Rust 中的 RPC 服务器
运行-集成
运行多语言集成示例:Typescript 中的 RPC 客户端和 Rust 中的 RPC 服务器
运行-多语言
依赖项
~9–19MB
~266K SLoC