cuddle-1.0.0.0

Synopsis

CDDL Generator and test utilities

Description

Cuddle is a library for generating and manipulating [CDDL](https://datatracker.ietf.org/doc/html/rfc8610). Included in this package is a command line tool for working with CDDL files. It currently supports four functions: - Formatting of CDDL files - Validating that a CDDL file is legal - Generating random CBOR terms matching CDDL productions - Testing compliance of a CBOR file against a CDDL spec.

Author

IOG Ledger Team

Maintainer

hackage@iohk.io

License

Apache-2.0

Source
https://github.com/input-output-hk/cuddle
Commit hash
6c7d7cbade5a5fc211f0ce588fabc7a0506a9005
Timestamp

2026-03-27T16:05:17Z

Revisions

None

Dependencies
library cuddle:
  • ["base >=4.18 && <5","base16-bytestring >=1.0.2","boxes >=0.1.5","bytestring >=0.11.4","capability >=0.5","cborg >=0.2.10","containers >=0.6.7","data-default-class >=0.2","foldable1-classes-compat >=0.1.1","generic-optics >=2.2.1","hashable >=1.4","megaparsec >=9.5","mtl >=2.3.1","mutable-containers >=0.3.4","optics-core >=0.4.1","ordered-containers >=0.2.4","parser-combinators >=1.3","prettyprinter >=1.7.1","random >=1.2","regex-tdfa >=1.3.2","scientific >=0.3.7","text >=2.0.2","tree-diff >=0.3"]
executable example:
  • ["base","cuddle","megaparsec","prettyprinter","random","text"]
executable cuddle:
  • ["base","base16-bytestring","bytestring","cborg","cuddle","megaparsec","mtl","optparse-applicative >=0.18","prettyprinter","random","text"]
test-suite cuddle-test:
  • ["HUnit >=1.6.2","QuickCheck >=2.14","base","bytestring","cuddle","data-default-class","hspec >=2.11","hspec-megaparsec >=2.2","megaparsec","prettyprinter","string-qq >=0.0.6","text","tree-diff"]