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

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.5.0.0, 1.0.0.0, 1.1.0.0, 1.1.1.0, 1.1.2.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 1.6.0.0, 1.7.0.0, 1.8.0.0, 1.8.1.0 (info)
Change log CHANGELOG.md
Dependencies antigen (>=0.4 && <0.5), 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), cuddle, data-default-class (>=0.2), foldable1-classes-compat (>=0.1.1), generic-optics (>=2.2.1), generic-random, half, hashable (>=1.4), megaparsec (>=9.5), mtl (>=2.3.1), mutable-containers (>=0.3.4), optics-core (>=0.4.1), optparse-applicative (>=0.18), ordered-containers (>=0.2.4), parser-combinators (>=1.3), prettyprinter (>=1.7.1), prettyprinter-ansi-terminal, QuickCheck (>=2.14.3 && <2.19), quickcheck-transformer, random (>=1.2), regex-tdfa (>=1.3.2), scientific (>=0.3.7), text (>=2.0.2), tree-diff (>=0.3) [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 hackage@iohk.io
Uploaded by j_jaager at 2026-04-10T10:16:43Z
Revised Revision 1 made by lehins at 2026-04-20T10:56:06Z
Category Codec
Source repo head: git clone https://github.com/input-output-hk/cuddle
Distributions Stackage:1.8.1.0
Executables cuddle, example
Downloads 232 total (45 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-04-10 [all 1 reports]