Skip to content

Commit

Permalink
Change the LMDB source to point to mdb.master
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerollmops committed Jan 11, 2023
1 parent 9db1ebc commit 31e4ddb
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 78 deletions.
5 changes: 3 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "lmdb-master3-sys/lmdb"]
path = lmdb-master3-sys/lmdb
[submodule "lmdb-master-sys/lmdb"]
path = lmdb-master-sys/lmdb
url = https://github.com/LMDB/lmdb
branch = mdb.master
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[workspace]
members = ["lmdb-master3-sys", "heed", "heed-traits", "heed-types"]
members = ["lmdb-master-sys", "heed", "heed-traits", "heed-types"]
4 changes: 2 additions & 2 deletions heed/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ byteorder = { version = "1.4.3", default-features = false }
heed-traits = { version = "0.7.0", path = "../heed-traits" }
heed-types = { version = "0.7.2", path = "../heed-types" }
libc = "0.2.139"
lmdb-master3-sys = { version = "0.1.0", path = "../lmdb-master3-sys" }
lmdb-master-sys = { version = "0.1.0", path = "../lmdb-master-sys" }
once_cell = "1.16.0"
page_size = "0.5.0"
serde = { version = "1.0.151", features = ["derive"], optional = true }
Expand All @@ -36,7 +36,7 @@ url = "2.3.1"
default = ["serde", "serde-bincode", "serde-json"]

# Use the provided version of LMDB instead of the one that is installed on the system.
vendored = ["lmdb-master3-sys/vendored"]
vendored = ["lmdb-master-sys/vendored"]

# The NO_TLS flag is automatically set on Env opening and
# RoTxn implements the Sync trait. This allow the user to reference
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions lmdb-master3-sys/Cargo.toml → lmdb-master-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "lmdb-master3-sys"
name = "lmdb-master-sys"
# NB: When modifying, also modify html_root_url in lib.rs
version = "0.1.0"
authors = [
Expand All @@ -9,8 +9,8 @@ authors = [
]
license = "Apache-2.0"
description = "Rust bindings for liblmdb on the mdb.master3 branch."
documentation = "https://docs.rs/lmdb-master3-sys"
repository = "https://github.com/meilisearch/heed/tree/main/lmdb-master3-sys"
documentation = "https://docs.rs/lmdb-master-sys"
repository = "https://github.com/meilisearch/heed/tree/main/lmdb-master-sys"
keywords = ["LMDB", "database", "storage-engine", "bindings", "library"]
categories = ["database", "external-ffi-bindings"]
edition = "2021"
Expand All @@ -19,7 +19,7 @@ edition = "2021"
build = "build.rs"

[lib]
name = "lmdb_master3_sys"
name = "lmdb_master_sys"

[dependencies]
libc = "0.2.139"
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions lmdb-master-sys/lmdb
Submodule lmdb added at 394701

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion lmdb-master3-sys/lmdb
Submodule lmdb deleted from b9db25

0 comments on commit 31e4ddb

Please sign in to comment.