renaming to lmdb-crypto-rs

without.crypto
Niko 2 years ago
parent bbe0707d22
commit 13d9837d54
  1. 2
      .gitmodules
  2. 20
      Cargo.toml
  3. 8
      README.md
  4. 4
      lmdb-sys/Cargo.toml

2
.gitmodules vendored

@ -1,4 +1,4 @@
[submodule "lmdb-sys/lmdb"] [submodule "lmdb-sys/lmdb"]
path = lmdb-sys/lmdb path = lmdb-sys/lmdb
url = https://github.com/nikoPLP/lmdb.git url = https://github.com/nikoPLP/lmdb.git
branch = lofire0_1_0 branch = mdb.crypto

@ -1,11 +1,11 @@
[package] [package]
name = "lmdb-lofire" name = "lmdb-crypto-rs"
# NB: When modifying, also modify html_root_url in lib.rs # NB: When modifying, also modify html_root_url in lib.rs
version = "0.14.0" version = "0.14.0"
authors = ["Dan Burkert <dan@danburkert.com>", "Victor Porof <vporof@mozilla.com>","NikoPLP <info@parlepeuple.fr>"] authors = ["Dan Burkert <dan@danburkert.com>", "Victor Porof <vporof@mozilla.com>","NikoPLP <info@parlepeuple.fr>"]
license = "Apache-2.0" license = "Apache-2.0"
description = "Idiomatic and safe LMDB wrapper." 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" homepage = "https://github.com/nikoPLP/lmdb-rs"
repository = "https://github.com/nikoPLP/lmdb-rs.git" repository = "https://github.com/nikoPLP/lmdb-rs.git"
readme = "README.md" readme = "README.md"
@ -37,15 +37,15 @@ bitflags = "1"
byteorder = "1" byteorder = "1"
libc = "0.2" libc = "0.2"
# In order to ensure that we test lmdb-lofire in CI against the in-tree version # In order to ensure that we test lmdb-crypto-rs in CI against the in-tree version
# of lmdb-lofire-sys, we specify the dependency as a path here. # 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 # 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.) # (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] [dev-dependencies]
rand = "0.4" rand = "0.4"
@ -53,6 +53,6 @@ tempdir = "0.3"
[features] [features]
default = [] default = []
with-asan = ["lmdb-lofire-sys/with-asan"] with-asan = ["lmdb-crypto-sys/with-asan"]
with-fuzzer = ["lmdb-lofire-sys/with-fuzzer"] with-fuzzer = ["lmdb-crypto-sys/with-fuzzer"]
with-fuzzer-no-link = ["lmdb-lofire-sys/with-fuzzer-no-link"] with-fuzzer-no-link = ["lmdb-crypto-sys/with-fuzzer-no-link"]

@ -20,14 +20,14 @@ cargo build
## Publishing to crates.io ## 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 ```bash
git clone --recursive git@github.com:mozilla/lmdb-rs.git git clone --recursive git@github.com:mozilla/lmdb-rs.git
cd lmdb-rs/lmdb-sys cd lmdb-rs/lmdb-sys
# Update the version string in lmdb-sys/Cargo.toml and lmdb-sys/src/lib.rs. # Update the version string in lmdb-sys/Cargo.toml and lmdb-sys/src/lib.rs.
cargo publish 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 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 git clone --recursive git@github.com:mozilla/lmdb-rs.git
cd lmdb-rs cd lmdb-rs
# Update the version string in Cargo.toml and src/lib.rs and temporarily change # 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 cargo publish
git tag $VERSION # where $VERSION is the updated version string git tag $VERSION # where $VERSION is the updated version string
git push git@github.com:mozilla/lmdb-rs.git --tags 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. # on the ./lmdb-sys directory.
``` ```

@ -1,11 +1,11 @@
[package] [package]
name = "lmdb-lofire-sys" name = "lmdb-crypto-sys"
# NB: When modifying, also modify html_root_url in lib.rs # NB: When modifying, also modify html_root_url in lib.rs
version = "0.11.2" version = "0.11.2"
authors = ["NikoPLP <info@parlepeuple.fr>"] authors = ["NikoPLP <info@parlepeuple.fr>"]
license = "Apache-2.0" license = "Apache-2.0"
description = "Rust bindings for liblmdb." 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" homepage = "https://github.com/nikoPLP/lmdb-rs"
repository = "https://github.com/nikoPLP/lmdb-rs.git" repository = "https://github.com/nikoPLP/lmdb-rs.git"
readme = "../README.md" readme = "../README.md"

Loading…
Cancel
Save