Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'cddl' module providing Haskell bindings to Rust's cddl crate.
This is meant to be used in test modules, for validating conformance of CBOR-serialized data objects against some CDDL specification. Note that ouroboros-network is doing something similar, but using a Ruby gem and calling directly the command-line built from the gem. We could do similar since the Rust cddl crate also has a CLI. The Haskell <-> Rust FFI is a bit of an experiment here as it is meant to provide a better (and faster) API than repeated IO calling a command-line in a shell.
- Loading branch information