cuddle: CDDL Generator and test utilities

[ apache, codec, library, program ] [ Propose Tags ] [ Report a vulnerability ]

Cuddle is a library for generating and manipulating CDDL.

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.

Flags

Manual Flags

NameDescriptionDefault
example

Enable the example executable

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.5.0.0
Change log CHANGELOG.md
Dependencies base (>=4.18 && <4.22), base16-bytestring (>=1.0.2 && <1.1), boxes (>=0.1.5 && <0.2), bytestring (>=0.11.4 && <0.13), capability (>=0.5 && <0.6), cborg (>=0.2.10 && <0.3), containers (>=0.6.7 && <0.8), cuddle, data-default-class (>=0.2 && <0.3), foldable1-classes-compat (>=0.1.1 && <0.2), generic-optics (>=2.2.1 && <2.3), hashable (>=1.5 && <1.6), megaparsec (>=9.7 && <9.8), mtl (>=2.3.1 && <2.4), mutable-containers (>=0.3.4 && <0.4), optics-core (>=0.4.1 && <0.5), optparse-applicative (>=0.19 && <0.20), ordered-containers (>=0.2.4 && <0.3), parser-combinators (>=1.3 && <1.4), prettyprinter (>=1.7.1 && <1.8), random (<1.3), regex-tdfa (>=1.3.2 && <1.4), scientific (>=0.3.8 && <0.4), text (>=2.0.2 && <2.2), tree-diff (>=0.3.4 && <0.4) [details]
Tested with ghc ==9.6 || ==9.8 || ==9.10 || ==9.12
License Apache-2.0
Copyright 2025 Input Output Global Inc (IOG)
Author IOG Ledger Team
Maintainer nicholas.clarke@iohk.io, hackage@iohk.io
Category Codec
Source repo head: git clone https://github.com/input-output-hk/cuddle
this: git clone https://github.com/input-output-hk/cuddle(tag cuddle-0.5.0.0)
Uploaded by IOHK at 2025-06-24T09:48:44Z
Distributions
Executables cuddle, example
Downloads 0 total (0 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-06-24 [all 1 reports]