build: use centrally patched agnostik

This commit is contained in:
2021-03-09 23:28:12 +01:00
parent 01e30713ad
commit cad3dab875
3 changed files with 5 additions and 2 deletions

View File

@@ -7,3 +7,6 @@ members = [
"crdt-enc-tokio",
"examples/*",
]
[patch.crates-io]
agnostik = {git = "https://github.com/chpio/agnostik.git", branch = "master"}

View File

@@ -13,7 +13,7 @@ rmp-serde = "0.15"
serde_bytes = "0.11"
uuid = "0.8"
async-trait = "0.1"
agnostik = {git = "https://github.com/chpio/agnostik.git", branch = "tokio1"}
agnostik = "0.2"
[dependencies.crdt-enc]
path = "../crdt-enc"

View File

@@ -14,4 +14,4 @@ crdts = "6.2"
tokio = {version = "1", features = ["macros", "rt"]}
anyhow = "1"
futures = "0.3"
agnostik = {git = "https://github.com/chpio/agnostik.git", branch = "tokio1", features = ["runtime_tokio"]}
agnostik = {version = "0.2", features = ["runtime_tokio"]}