#crdt #distributed #library

crdt_rs

一个用于在 Rust 中处理无冲突复制数据类型(CRDT)的库

3 个版本

使用旧的 Rust 2015

0.1.2 2016 年 2 月 15 日
0.1.1 2016 年 2 月 8 日
0.1.0 2016 年 2 月 8 日

#1854数据结构

MIT/Apache

8KB
155

crdt-rs

这是一个在 Rust 中处理[上下文无关复制数据类型](https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type)的库

安装

此包与 Cargo 一起工作。假设您已安装 Rust 和 Cargo,只需检出源代码并运行测试

git clone https://github.com/achanda/crdt-rs
cd crdt-rs
cargo test

您还可以将 crdt_rs 添加到项目的 Cargo.toml 作为依赖项

[dependencies]
crdt_rs = "*"

待办事项

  1. 所有类型的测试
  2. 文档
  3. 所有类型的更多实用函数
  4. 更多类型

lib.rs:

此包提供了一些常见 CRDT 的实现

无运行时依赖