CDDL is a schema language for the CBOR serialization format. pycddl
allows you to:
- Validate CBOR documents match a particular CDDL schema, based on
the Rust cddl library.
- Optionally, decode CBOR documents.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-pycddl listed in the above command, you can pick from the names under the Packages section.
*/*: Fix many Rust ports to run without COMPAT11
RISCV does not include COMPAT11 by default. But Rust's libc bound the
compat-11 symbols until version 0.2.176. Patch a great many Rust ports
to use a newer version of libc, to eliminate the dependency on COMPAT11.
Explicitly patching Cargo.lock isn't usually necessarily, since within
the build jail cargo is forced to use whichever crates Makefile.crates
installs there.
Notes on specific ports:
* textproc/bookokrat: Rework bookokrat's existing patch to be more
robust. Also, report the issue upstream:
https://github.com/bugzmanov/bookokrat/issues/182
(Only the first 15 lines of the commit message are shown above )
textproc/py-pycddl: New port: Deserialize CBOR and/or do CDDL schema validation
CDDL is a schema language for the CBOR serialization format. pycddl
allows you to:
- Validate CBOR documents match a particular CDDL schema, based on
the Rust cddl library.
- Optionally, decode CBOR documents.
PR: 287129
Approved by: acm (mentor)