Skip to content

Irmin

pukkamustard requested to merge irmin into main

Irmin

This adds bindings to Irmin. The dmc library exposes a functor that takes a Irmin.S and returns a Replica that uses the Irmin store.

This allows the library to be used with any Irmin backend. The tests use the Irmin_mem backend (in-memory). The CLI will use the Irmin_fs backend.

Dmc.Crypto

Cryptographic primitives are not platform independent. For portability the crypto primitives have been abstracted in the signature Dmc.Crypto.S. The dmc library provides a functor that returns a concrete implementation for given crypto primitives.

A package dmc_crypto.unix is provided that provides an implementation of the crypto primitives (using Monocypher and cryptokit for the pseudo random generators). This is used by the tests and will be used by cli.

Merge request reports