8 releases
| 0.1.8 | Feb 18, 2026 |
|---|---|
| 0.1.7 | Sep 2, 2025 |
| 0.1.6 | Mar 14, 2025 |
| 0.1.5 | Mar 7, 2024 |
| 0.1.1 | Aug 28, 2023 |
#991 in Parser implementations
233 downloads per month
140KB
4.5K
SLoC
cddlconv
A commandline utility for converting CDDL to various formats.
Usage
- Clone this repo and
cdinto it. cargo run -- path/to/file.cddl
Tips
Formatting output
The output is generally ugly, so you may need to format it. The easiest way is to pipe it into a formatter.
For example,
outfile=path/to/file.ts
cargo run -- path/to/file.cddl | prettier --stdin-filepath=$outfile > $outfile
Limitations
- Only
TypeScriptandZod v4is supported at the moment.
Dependencies
~12–18MB
~319K SLoC