forked from y-crdt/y-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
30 lines (26 loc) · 927 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[package]
name = "y-sync"
version = "0.3.1"
edition = "2021"
description = "Yrs synchronization protocol"
license-file = "LICENSE"
authors = ["Bartosz Sypytkowski <[email protected]>"]
keywords = ["crdt", "yrs", "y-sync"]
homepage = "https://github.com/y-crdt/y-sync/"
repository = "https://github.com/y-crdt/y-sync/"
readme = "./README.md"
[features]
net = ["dep:tokio", "dep:futures-util"]
[dependencies]
lib0 = ">= 0.16"
yrs = ">= 0.16"
thiserror = "1.0"
tokio = { version = "1.26.0", features = ["net", "sync"], optional = true }
futures-util = { version = "0.3", features = ["sink"], optional = true }
[dev-dependencies]
tokio = { version = "1.26.0", features = ["full"] }
tokio-util = { version ="0.7", features = ["codec"] }
bytes = "1.4"
[patch.crates-io]
lib0 = { git = "https://github.com/toeverything/y-crdt", rev = "a700f09" }
yrs = { git = "https://github.com/toeverything/y-crdt", rev = "a700f09" }