2 releases
0.3.3 | Mar 30, 2022 |
---|---|
0.3.1-beta.0 | Feb 25, 2022 |
#2765 in Database interfaces
58KB
1.5K
SLoC
irmin-rs
irmin bindings for Rust
This crate enables you to call directly into irmin from your Rust application and can be used to open an existing irmin store from Rust that may have been created by an application written in OCaml.
Building
After installing libirmin using opam, you can run:
$ cargo build
And the build script should be able to find the location of the libirmin
library and header files.
If libirmin.so
and irmin.h
were not installed using opam and they're not in ~/.local
or
/usr/local
, then you can specify where to look for them using the LIBIRMIN_PREFIX
env
variable.
Testing
Tests must be executed using a single thread:
$ cargo test -- --test-threads=1
or
$ make test
Dependencies
~0.7–3.5MB
~70K SLoC