cddl-codegen icon indicating copy to clipboard operation
cddl-codegen copied to clipboard

Codegen serialization logic for CBOR automatically from a CDDL specification

Results 56 cddl-codegen issues
Sort by recently updated
recently updated
newest added

Some types such as addresses require a custom to/from json that converts them to base58 or bech32. It would be nice if there was a way to get the codegen...

CDDL feature

Currently in `parsing.rs` we have two places where we use `apply_type_aliases` because we don't order definitions via a dependency graph It would be nice to remove this, but this depends...

Quality-of-life feature

Not sure about floating point spec in CBOR vs floating point implementation in Rust. Additionally, I'm not sure if we support float types at all in the first place such...

enhancement
help wanted

It was added to the cddl crate in version 0.9 as well https://datatracker.ietf.org/doc/html/draft-ietf-cbor-cddl-control-01#section-3

CDDL feature
help wanted

It was added to the cddl crate in version 0.9 as well https://datatracker.ietf.org/doc/html/draft-ietf-cbor-cddl-control-01#section-2.2

CDDL feature
help wanted

It was added to the cddl crate in version 0.9 as well https://datatracker.ietf.org/doc/html/draft-ietf-cbor-cddl-control-01#section-2.1

CDDL feature
help wanted

Not sure about cbor support for these types, but these two primitives exist in Rust We may want to consider 256 & 512 even though they aren't real Rust types...

CDDL feature
help wanted

Note that we already support the .cbor operator https://www.rfc-editor.org/rfc/rfc8610#section-3.8.4

CDDL feature
help wanted

https://www.rfc-editor.org/rfc/rfc8610#section-3.8.5

CDDL feature
help wanted

https://www.rfc-editor.org/rfc/rfc8610#section-3.8.3

CDDL feature
help wanted