Home / Emurgo / cddl-codegen
2 commits this week Sep 24, 2022 - Oct 01, 2022
Bump cddl from `51bac9d` to `8ca5917`
Bumps [cddl](https://github.com/dcSpark/cddl) from `51bac9d` to `8ca5917`.
- [Release notes](https://github.com/dcSpark/cddl/releases)
- [Commits](https://github.com/dcSpark/cddl/compare/51bac9d087aeb0c628de9e5893741ea3b3347eef...8ca5917a4906e2c4a3b13778e5ccddef52dd18c6)

---
updated-dependencies:
- dependency-name: cddl
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Fix for `Int` when used as key, only gen when needed
When used as a key `Int` requires more traits, which can't be
auto-generated when used as a tuple enum. This switches it to a named
enum any ignores encoding fields for those traits. This also stops
duplicate keys which were possible previously when the encoding
differed.

We now only generate `Int` when it is actually referenced within the
CDDL definitions being generated.