diff --git a/.gitmodules b/.gitmodules index c37d96b..35ca5a2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "lmdb-sys/lmdb"] path = lmdb-sys/lmdb url = https://github.com/nikoPLP/lmdb.git - branch = lofire0_1_0 + branch = mdb.crypto diff --git a/Cargo.toml b/Cargo.toml index 3d600ef..8c17912 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,11 +1,11 @@ [package] -name = "lmdb-lofire" +name = "lmdb-crypto-rs" # NB: When modifying, also modify html_root_url in lib.rs version = "0.14.0" authors = ["Dan Burkert ", "Victor Porof ","NikoPLP "] license = "Apache-2.0" description = "Idiomatic and safe LMDB wrapper." -documentation = "https://docs.rs/lmdb-lofire" +documentation = "https://docs.rs/lmdb-crypto-rs" homepage = "https://github.com/nikoPLP/lmdb-rs" repository = "https://github.com/nikoPLP/lmdb-rs.git" readme = "README.md" @@ -37,15 +37,15 @@ bitflags = "1" byteorder = "1" libc = "0.2" -# In order to ensure that we test lmdb-lofire in CI against the in-tree version -# of lmdb-lofire-sys, we specify the dependency as a path here. +# In order to ensure that we test lmdb-crypto-rs in CI against the in-tree version +# of lmdb-crypto-sys, we specify the dependency as a path here. # -# But we can't publish the lmdb-lofire crate to crates.io with a path dependency, +# But we can't publish the lmdb-crypto-rs crate to crates.io with a path dependency, # so we have to temporarily change this to point to the current version -# of lmdb-lofire-sys on crates.io when publishing lmdb-lofire to that crate registry. +# of lmdb-crypto-sys on crates.io when publishing lmdb-crypto to that crate registry. # # (See "Publishing to crates.io" in README.md for more information.) -lmdb-lofire-sys = { path = "./lmdb-sys" } +lmdb-crypto-sys = { path = "./lmdb-sys" } [dev-dependencies] rand = "0.4" @@ -53,6 +53,6 @@ tempdir = "0.3" [features] default = [] -with-asan = ["lmdb-lofire-sys/with-asan"] -with-fuzzer = ["lmdb-lofire-sys/with-fuzzer"] -with-fuzzer-no-link = ["lmdb-lofire-sys/with-fuzzer-no-link"] +with-asan = ["lmdb-crypto-sys/with-asan"] +with-fuzzer = ["lmdb-crypto-sys/with-fuzzer"] +with-fuzzer-no-link = ["lmdb-crypto-sys/with-fuzzer-no-link"] diff --git a/README.md b/README.md index aff53a8..407ecf6 100644 --- a/README.md +++ b/README.md @@ -20,14 +20,14 @@ cargo build ## Publishing to crates.io -To publish the lmdb-lofire-sys crate to crates.io: +To publish the lmdb-crypto-sys crate to crates.io: ```bash git clone --recursive git@github.com:mozilla/lmdb-rs.git cd lmdb-rs/lmdb-sys # Update the version string in lmdb-sys/Cargo.toml and lmdb-sys/src/lib.rs. cargo publish -git tag lmdb-lofire-sys-$VERSION # where $VERSION is the updated version string +git tag lmdb-crypto-sys-$VERSION # where $VERSION is the updated version string git push git@github.com:mozilla/lmdb-rs.git --tags ``` @@ -37,11 +37,11 @@ To publish the lmdb-rkv crate to crates.io: git clone --recursive git@github.com:mozilla/lmdb-rs.git cd lmdb-rs # Update the version string in Cargo.toml and src/lib.rs and temporarily change -# the lmdb-lofire-sys dependency in Cargo.toml to the latest version on crates.io. +# the lmdb-crypto-sys dependency in Cargo.toml to the latest version on crates.io. cargo publish git tag $VERSION # where $VERSION is the updated version string git push git@github.com:mozilla/lmdb-rs.git --tags -# Change the lmdb-lofire-sys dependency in Cargo.toml back to a path dependency +# Change the lmdb-crypto-sys dependency in Cargo.toml back to a path dependency # on the ./lmdb-sys directory. ``` diff --git a/lmdb-sys/Cargo.toml b/lmdb-sys/Cargo.toml index 003f1af..2db0f2b 100644 --- a/lmdb-sys/Cargo.toml +++ b/lmdb-sys/Cargo.toml @@ -1,11 +1,11 @@ [package] -name = "lmdb-lofire-sys" +name = "lmdb-crypto-sys" # NB: When modifying, also modify html_root_url in lib.rs version = "0.11.2" authors = ["NikoPLP "] license = "Apache-2.0" description = "Rust bindings for liblmdb." -documentation = "https://docs.rs/lmdb-lofire-sys" +documentation = "https://docs.rs/lmdb-crypto-sys" homepage = "https://github.com/nikoPLP/lmdb-rs" repository = "https://github.com/nikoPLP/lmdb-rs.git" readme = "../README.md"