irmin

Crates.ioirmin
lib.rsirmin
version0.3.3
sourcesrc
created_at2022-02-25 23:52:31.844751
updated_at2022-03-30 20:31:52.541086
descriptionIrmin bindings for rust
homepage
repositoryhttps://github.com/mirage/irmin
max_upload_size
id539719
size85,486
zach (zshipko)

documentation

https://docs.rs/irmin

README

irmin-rs

irmin bindings for Rust

Documentation

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
Commit count: 5525

cargo fmt