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, 1.0.0.0 (info)
Change log CHANGELOG.md
Dependencies 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), 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), 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
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 lehins at 2025-09-09T20:30:03Z
Distributions
Executables cuddle, example
Downloads 13 total (7 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-09-09 [all 1 reports]