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

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

CDDL feature
help wanted

CIP25 for example uses CDDL to specify a set of keys that can be present, but allows people to extend the base specification with whichever key they need. This doesn't...

CDDL feature
help wanted

Given the CDDL ``` bytes .size 64 ``` # Expected code `bytes: [u8; 64]` # Generated code `bytes: Vec`

Quality-of-life feature

Supposed the following CDDL ``` bootstrapEraDistr = 1 ``` # Expected code ```rust #[wasm_bindgen] #[derive(Clone, Debug, Eq, Ord, PartialEq, PartialOrd)] pub struct BootstrapEraDistr { } #[wasm_bindgen] impl BootstrapEraDistr { pub...

CDDL feature

Bumps [either](https://github.com/bluss/either) from 1.5.3 to 1.7.0. Commits d6f088e Merge pull request #73 from cuviper/release-1.7.0 2370b06 Release 1.7.0 f1eca77 Merge pull request #72 from cuviper/clone_from f90883c Specialize Clone::clone_from 26a6dc7 Merge pull...

dependencies

According to the CBOR RFC, if strict mode is not being followed, duplicate keys in CBOR maps are allowed. cddl-codegen only supports strict mode and can't handle duplicate keys. It...

CDDL feature

Bumps [cbor_event](https://github.com/primetype/cbor_event) from 2.1.3 to 2.2.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cbor_event&package-manager=cargo&previous-version=2.1.3&new-version=2.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: #...

dependencies

[//]: # (dependabot-start) ⚠️ **Dependabot Preview has been deactivated** ⚠️ This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to `dependabot`...

dependencies

with `--preserve-encodings=true` ``` non_overlap_basic_not_basic = [ ; @name group basic // ; @name group_arr basic_arr // ; @name group_tagged #6.11(basic) // ; @name group_bytes bytes .cbor basic ] ``` All...

bug

Caused when the inlining would made cddl-codegen think that the types were not overlapping since it was looking at the stored type not the actual starting cbor type (e.g. when...