百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
W

wtx

> 数据库
开源

由人类编写。WTX 是一系列不同的传输实现和相关工具,主要集中在 Web 技术上。

390 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

由人类编写。WTX 是一系列不同的传输实现和相关工具,主要集中在 Web 技术上。

WTX

WTX is a human-written collection of different transport implementations and related tools focused primarily on web technologies. Features the in-house development of +10 IETF RFCs along side other elements.

Works on embedded devices with heap allocators. If you find this crate interesting, please consider giving it a star ⭐ on GitHub.

Specification URL
gRPC
HTTP/2
SMTP (Client)
PostgreSQL
TLS 1.3
WebSocket
WebSocket Compression
WebSocket Over HTTP/2
X.509

High-level benchmarks

Checkout wtx-bench or HttpArena and feel free to indicate possible misunderstandings.

gRPC HTTP/2 WebSocket
HttpArena - gRPC HttpArena - HTTP/2 HttpArena - WebSocket

Low-level benchmarks

Anything marked with #[bench] in the repository is considered a low-level benchmark in the sense that they measure very specific operations that generally serve as the basis for other parts.

Take a look at to see all low-level benchmarks over different periods of time.

Development benchmarks

These numbers provide an estimate of the expected waiting times when developing with WTX. If desired, you can compare them with other similar Rust projects through the dev-bench.sh script.

Technology Required Deps [^1] All Deps [^2] Clean Check Clean Debug Build Clean Opt Build Opt size
gRPC Client 2 16 4.80s 6.04s 6.53s 736K
HTTP/2 Client Pool 2 15 4.60s 5.84s 6.44s 728K
HTTP/2 Server Framework 2 34 7.87s 10.53s 10.60s 996K
Postgres Client 13 26 5.12s 6.19s 6.69s 652K
WebSocket Client 10 22 4.24s 5.04s 5.31s 560K

Crypto Backend

Taking aside very few exceptions, WTX does not have built-in cryptographic algorithms, as such, it is necessary to select a backend when working with features that require them.

  • crypto-alr (aws-lc-rs)
  • crypto-graviola
  • crypto-ring
  • crypto-ruco (Rust Crypto)

Calling methods will halt/panic the application if no backend is selected. These panicking branches will hopefully be erased by dead code analysis if the crypto feature is somehow active but never actually used.

In practice many things require cryptography algorithms. For example, PostgreSQL uses HMAC and secure HTTP cookie uses AEAD.

Examples

Demonstrations of different use-cases can be found in the wtx-examples directory as well as in the documentation located at .

Limitations

  • WTX is not widely used and has not undergone security audits, therefore, use it at your own risk. However, reproducible contributions that improve security are always welcome.

  • Does not support systems with a pointer length of 16 bits.

  • Expects the infallible sum of the lengths of an arbitrary number of slices, otherwise the program will likely trigger an overflow that can possibly result in unexpected operations. For example, in a 32bit system such a scenario should be viable without swap memory or through specific limiters like ulimit.

[^1]: Internal dependencies required by the feature.

[^2]: The sum of optional and required dependencies used by the associated binaries.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustapicertificatescliclient

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库