Skip to content

Commit

Permalink
CAKE-68: Fix heed dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillFish8 committed Dec 31, 2023
1 parent a91b91a commit d18b514
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ datacake-eventual-consistency = { version = "0.6", path = "datacake-eventual-con
datacake-sqlite = { version = "0.5", path = "datacake-sqlite", optional = true }
datacake-rpc = { version = "0.6", path = "datacake-rpc", optional = true }
datacake-node = { version = "0.5", path = "datacake-node", optional = true }
datacake-lmdb = { version = "0.2", path = "datacake-lmdb", optional = true }
datacake-lmdb = { version = "0.3", path = "datacake-lmdb", optional = true }

[dev-dependencies]
tokio = { version = "1", features = ["rt"] }
Expand Down
2 changes: 0 additions & 2 deletions datacake-eventual-consistency/src/keyspace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@ mod messages;
pub use actor::{spawn_keyspace, KeyspaceActor};
pub use group::{KeyspaceGroup, KeyspaceInfo, KeyspaceTimestamps};
pub use messages::{
CorruptedState,
Del,
Diff,
LastUpdated,
MultiDel,
MultiSet,
Serialize,
Set,
SymDiff,
NUM_SOURCES,
};

Expand Down
4 changes: 2 additions & 2 deletions datacake-lmdb/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "datacake-lmdb"
version = "0.2.0"
version = "0.3.0"
edition = "2021"
description = "A pre-built implementation of datacake's Storage trait using LMDB."
license = "MIT"
Expand All @@ -17,7 +17,7 @@ futures = "0.3"
flume = "0.10"
thiserror = "1"

heed = { version = "0.20.0-alpha.0", default-features = false }
heed = { version = "=0.20.0-alpha.9", default-features = false }
tokio = { version = "1", default-features = false, features = ["rt"] }

datacake-crdt = { version = "0.5", path = "../datacake-crdt" }
Expand Down
2 changes: 1 addition & 1 deletion datacake-lmdb/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use datacake_eventual_consistency::{Document, DocumentMetadata};
use flume::{self, Receiver, Sender};
use futures::channel::oneshot;
use heed::byteorder::LittleEndian;
use heed::types::{ByteSlice, Str, Unit, U64};
use heed::types::{Bytes as ByteSlice, Str, Unit, U64};
use heed::{Database, Env, EnvOpenOptions};

type KvDB = Database<U64<LittleEndian>, ByteSlice>;
Expand Down

0 comments on commit d18b514

Please sign in to comment.