Cap'n Proto是一个高效的数据交换格式和RPC系统,由Protobuf的原作者开发,旨在解决Protobuf等序列化框架的一些性能和使用上的问题。使用Cap'n Proto在CAF(C++ Actor Framework)中进行数据的序列化和反序列化,与使用Protobuf类似,但有其独特的优势和考虑点。
FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first.
字节数组序列化/解序列化库。 A binary serialization / deserialization strategy for transforming structs into bytes and vice versa!
A virtual filesystem for Rust.The virtual file system abstraction generalizes over file systems and allows using different filesystem implementations.EmbeddedFS.
Async-graphql是用 Rust 语言实现的 GraphQL 服务端库。它完全兼容 GraphQL 规范以及绝大部分的扩展功能,类型安全并且高性能。 你可以用 Rust 语言的方式来定义 Schema,过程宏会自动生成 GraphQL 查询的框架代码,没有扩展 Rust 的语法,意味着 Rustfmt 可以正常使用,我很看重这一点,这也是为什么我会开发Async-graphql的原因之一。
axum 基于Tokio和Hyper打造,模块化设计较好,目前口碑很好,值得使用Ergonomic and modular web framework built with Tokio, Tower, and Hyper.
Rust桌面UI框架。 Tauri is a framework for building tiny, blazingly fast binaries for all major desktop platforms.
MIO = Meta IO,是一个底层IO库,往往用于构建其它网络库,当然如果你对应用网络性能有非常极限的要求, 可以考虑它,因为它的层次比较低,所带来的抽象负担小,所以性能损耗小。
Rust library for fast image resizing with using of SIMD instructions.
This crate provides basic image processing functions and methods for converting to and from various image formats.
Rust implementation of grpc-web protocol that allows using tonic in browsers via webassembly.
纯Rust实现的gRPC客户端和服务器端,文档和示例较为清晰。tonic 在某些情况下可能比 grpc-rust 的性能更好。tonic 更加符合 Rust 的开发方式和哲学,而 grpc-rust 则提供了一些 Rust 特有的功能和更加灵活的接口设计。它们接口设计风格不同:grpc-rust 的接口设计风格更加 Rust 风格,提供了一些 Rust 特有的功能.
trust-dns-resolver 是 Rust 的 DNS 解析库,它是 Trust-DNS 项目的一部分。Trust-DNS 项目的目标是成为 Rust 中完整、安全的 DNS 处理库,而 trust-dns-resolver 正是该项目的关键组成部分,负责执行 DNS 解析任务。它支持异步 DNS 解析,可以在不阻塞你的应用程序的情况下进行 DNS 查询。
纯Rust实现的actor模型,基于erlang的actor模型,可以类比另一个actor开源框架: C++ CAF, ractor crate还有一个令人惊喜的地方,它支持tokio。 A pure-Rust actor framework. Inspired from Erlang's gen_server, with the speed + performance of Rust!
这个crate包含了一些用于基于Ractor系统的实用actors。此外,因为ractor是基于tokio构建的,你经常可以将这些实用actors与非actor异步工作流混合使用。 文件观察器(特性 filewatcher)- 观察文件和目录的更改。使用notify构建。 Tcp actors(特性 net)- 监听传入的连接并处理它们作为会话的消息输入/输出。 流处理actor...