|
|
|
@ -13,7 +13,7 @@ with fixes for issues encountered by [mozilla/rkv](https://github.com/mozilla/rk |
|
|
|
|
## Building from Source |
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
git clone --recursive git@github.com:mozilla/lmdb-rs.git |
|
|
|
|
git clone --recursive git@git.nextgraph.org:NextGraph/lmdb-rs.git |
|
|
|
|
cd lmdb-rs |
|
|
|
|
cargo build |
|
|
|
|
``` |
|
|
|
@ -23,24 +23,24 @@ cargo build |
|
|
|
|
To publish the lmdb-crypto-sys crate to crates.io: |
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
git clone --recursive git@github.com:mozilla/lmdb-rs.git |
|
|
|
|
git clone --recursivegit@git.nextgraph.org:NextGraph/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-crypto-sys-$VERSION # where $VERSION is the updated version string |
|
|
|
|
git push git@github.com:mozilla/lmdb-rs.git --tags |
|
|
|
|
git push git@git.nextgraph.org:NextGraph/lmdb-rs.git --tags |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
To publish the lmdb-rkv crate to crates.io: |
|
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
git clone --recursive git@github.com:mozilla/lmdb-rs.git |
|
|
|
|
git clone --recursive git@git.nextgraph.org:NextGraph/lmdb-rs.git |
|
|
|
|
cd lmdb-rs |
|
|
|
|
# Update the version string in Cargo.toml and src/lib.rs and temporarily change |
|
|
|
|
# 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 |
|
|
|
|
git push git@git.nextgraph.org:NextGraph/lmdb-rs.git --tags |
|
|
|
|
# Change the lmdb-crypto-sys dependency in Cargo.toml back to a path dependency |
|
|
|
|
# on the ./lmdb-sys directory. |
|
|
|
|
``` |
|
|
|
|