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

y-crdt

> 编程语言
开源

Yjs 的 Rust 端口

2.1K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Yjs 的 Rust 端口

# Y CRDT

A collection of Rust libraries oriented around implementing [Yjs](https://yjs.dev/) algorithm and protocol with cross-language and cross-platform support in mind. It aims to maintain behavior and binary protocol compatibility with Yjs, therefore projects using Yjs/Yrs should be able to interoperate with each other. Project organization: - **lib0** is a serialization library used for efficient (and fairly fast) data exchange. - **yrs** (read: *wires*) is a core Rust library, a foundation stone for other projects. - **yffi** (read: *wifi*) is a wrapper around *yrs* used to provide a native C foreign function interface. See also: [C header file](https://github.com/y-crdt/y-crdt/blob/main/tests-ffi/include/libyrs.h). - **ywasm** is a wrapper around *yrs* that targets WebAssembly and JavaScript API. Other projects using *yrs*: - [pycrdt](https://github.com/y-crdt/pycrdt) - Python bindings. - [yrb](https://github.com/y-crdt/yrb) - Ruby bindings. - [yr](https://github.com/y-crdt/yr) - R bindings. - [ydotnet](https://github.com/y-crdt/ydotnet) - .NET/C# bindings. - [yswift](https://github.com/y-crdt/yswift) - Swift bindings. - [ykt](https://github.com/y-crdt/ykt) - Kotlin bindings. - [ypy](https://github.com/y-crdt/ypy) - Python bindings (deprecated, use pycrdt instead). ## Feature parity among projects | | yjs
(13.6) | yrs
(0.21) | ywasm
(0.18) | yffi
(0.21) | y-rb
(0.5) | y-py
(0.6) | ydotnet
(0.4) | yswift
(0.2) | y_ex
(0.6) | |-----------------------------------------|:-------------------------------------------------:|:------------------------------------------:|:-----------------------------------------------------:|:---------------:|:------------------------------------------------:|:--------------------------------------------:|:-----------------:|:----------------:|:--------------:| | YText: insert/delete | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | YText: formatting attributes and deltas | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | YText: embeded elements | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | YMap: update/delete | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | YMap: weak links | ✅ 
(weak-links branch) | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | | YArray: insert/delete | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | YArray & YText quotations | ✅ 
(weak links branch) | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ✅ | | YArray: move | ✅ 
(move branch) | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ❌ | ✅ | | XML Element, Fragment and Text | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | | Sub-documents | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | | Shared collections: observers | ✅ | ✅ | ✅ 
(incompatible with yjs) | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | | Shared collections: recursive nesting | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | | Document observers | ✅ | ✅ | ✅ 
(incompatible with yjs) | ✅ | ✅ | ✅ | ✅ | | ✅ | | Transaction: origins | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | | Snapshots | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | | Sticky indexes | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | | Undo Manager | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | | Awareness | ✅ | ✅ | ✅ | ❌ | ✅ | ❌ | ✅ | ❌ | ✅ | | Network provider: WebSockets | ✅ 
(y-websocket) | ✅ 
(yrs-warp) | ❌ | ❌ | ✅ 
(y-rb_actioncable) | ✅ 
(pycrdt-websocket) | ✅ | ❌ | ❌ | | Network provider: WebRTC | ✅ 
(y-webrtc) | ✅ 
(yrs-webrtc) | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ## Maintainers - [Bartosz Sypytkowski](https://github.com/Horusiath) - [Kevin Jahns](https://github.com/dmonad) - [John Waidhofer](https://github.com/Waidhoferj) ## Sponsors

GitHub Issues· 0 开放

在 GitHub 查看全部

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

核心特点

  • •lib0 is a serialization library used for efficient (and fairly fast) data exchange.
  • •yrs (read: *wires*) is a core Rust library, a foundation stone for other projects.
  • •yffi (read: *wifi*) is a wrapper around *yrs* used to provide a native C foreign function interface. See
  • •ywasm is a wrapper around *yrs* that targets WebAssembly and JavaScript API.
  • •pycrdt - Python bindings.
  • •yrb - Ruby bindings.
  • •yr - R bindings.
  • •ydotnet - .NET/C# bindings.
  • •yswift - Swift bindings.
  • •ykt - Kotlin bindings.

> 标签

Rustcrdtrustyjs

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

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言