Crates.io | irmin |
lib.rs | irmin |
version | 0.3.3 |
source | src |
created_at | 2022-02-25 23:52:31.844751 |
updated_at | 2022-03-30 20:31:52.541086 |
description | Irmin bindings for rust |
homepage | |
repository | https://github.com/mirage/irmin |
max_upload_size | |
id | 539719 |
size | 85,486 |
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.
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.
Tests must be executed using a single thread:
$ cargo test -- --test-threads=1
or
$ make test