Coder Social home page Coder Social logo

kayyagari / mdbx-rs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mozilla/lmdb-rs

0.0 0.0 0.0 845 KB

Rust bindings for MDBX

Home Page: https://docs.rs/mdbx-sys

License: Apache License 2.0

Rust 1.24% CMake 3.15% Makefile 0.32% Roff 0.53% C 71.34% C++ 23.42%

mdbx-rs's Introduction

mdbx-sys

This repo is a fork of mozilla/lmdb-rs with patches \to make it work with erthink/libmdbx.

Building from Source

git clone --recursive [email protected]:Kerollmops/mdbx-rs.git
cd mdbx-rs
cargo build

Publishing to crates.io

To publish the mdbx-sys crate to crates.io:

git clone --recursive [email protected]:Kerollmops/mdbx-rs.git
cd mdbx-rs/mdbx-sys
# Update the version string in mdbx-sys/Cargo.toml and mdbx-sys/src/lib.rs.
# We are forced to precompile the library, this is because of mdbx
# needing the GIT_DIR and cargo publish that doesn't copy it with the sources.
cargo publish
git tag mdbx-sys-$VERSION # where $VERSION is the updated version string
git push [email protected]:Kerollmops/mdbx-rs.git --tags

Updating the libmdbx Version

To update the libmdbx version you must clone it and copy the dist/ folder in mdbx-sys/. Make sure to follow the building steps.

# clone libmmdbx to a repository outside at specific tag
git clone https://github.com/erthink/libmdbx.git ../libmdbx --branch v0.7.0
make -C ../libmdbx dist

# copy the `libmdbx/dist/` folder just created into `mdbx-sys/libmdbx`
rm -rf mdbx-sys/libmdbx
cp -R ../libmdbx/dist mdbx-sys/libmdbx

# add the changes to the next commit you will make
git add mdbx-sys/libmdbx

mdbx-rs's People

Contributors

azure-pipelines[bot] avatar baloo avatar cmbrandenburg avatar danburkert avatar emilio avatar illicitonion avatar jnross avatar kayyagari avatar kerollmops avatar marshallpierce avatar mykmelez avatar ncloudioj avatar photex avatar quininer avatar rrichardson avatar srijs avatar sybblow avatar tarcieri avatar victorporof avatar waywardmonkeys avatar yangby-cryptape avatar zshipko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.