Installation & Getting Started
Install
git clone https://github.com/dcSpark/cddl-codegen && cd cddl-codegen
Run Example
To run execute cargo run -- --input=input.cddl --output=EXPORT_DIR
to read ./input.cddl
and produce output code in ./EXPORT_DIR/
.
cargo run -- --input=example/test.cddl --output=export
Build
cargo build --release
target/release/cddl-codegen --input example/test.cddl --output export