cddl-codegen
                                
                                
                                
                                    cddl-codegen copied to clipboard
                            
                            
                            
                        Codegen serialization logic for CBOR automatically from a CDDL specification
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...
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...
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...
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
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
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
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...
Note that we already support the .cbor operator https://www.rfc-editor.org/rfc/rfc8610#section-3.8.4
https://www.rfc-editor.org/rfc/rfc8610#section-3.8.5
https://www.rfc-editor.org/rfc/rfc8610#section-3.8.3