cddl-codegen
cddl-codegen copied to clipboard
Codegen serialization logic for CBOR automatically from a CDDL specification
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.18 to 4.0.29. Release notes Sourced from clap's releases. v4.0.29 [4.0.29] - 2022-11-29 v4.0.28 [4.0.28] - 2022-11-29 Fixes Fix wasm support which was broken in 4.0.27 v4.0.26...
idea files are ignored added commented fmt and clippy steps
Fix #91 Currently this fails with the following error that I don't really understand ``` error[E0308]: mismatched types --> src/lib.rs:654:37 | 654 | deser_test(&CborInCbor::new(Foo::new(0, String::new(), vec![]), 9)) | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...
As of #103 we have resolved dependency ordering (#93), but this, as before, still leads to recursive structures potentially being directly stack-allocated within the rust structs generated. This is not...
Bumps [codegen](https://github.com/carllerche/codegen) from 0.1.3 to 0.2.0. Changelog Sourced from codegen's changelog. Changed updated the crate to rust 2018 edition Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You...
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.1 to 1.15.0. Changelog Sourced from once_cell's changelog. 1.15.0 Increase minimal supported Rust version to 1.56.0. Implement UnwindSafe even if the std feature is disabled. 1.14.0 Add...
`README.md` is quite outdated and could use an update. It hasn't been updated since before many major features such as the split wasm/rust crate structure, preserve-encodings, etc.
#50 adds support for the `.cbor` notation It does so by having `foo = bytes .cbor bar` simply make foo be an alias for bar at the type level and...
For example in `[a]` or `[* a]` it seems only for generics we ignore the `*` and always end up with a single element array. In the non-generic case this...
I'm not sure if there is a good way to codegen this, but the current codegen logic will not explicitly generate `serde::Serialize` & `serde::de::Deserialize` traits for types even if they...