-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nested directory/mod support for multifile inputs (#191)
* Nested directory/mod support for multifile inputs CDDL input directories can now contain folders which will correspond to nested modules in the generated code. e.g. inputs/foo/bar.cddl will create a bar module inside of the foo module. You can also name files inside of the folders as mod.cddl to have them be the root module instead of a submodule e.g. inputs/foo/mod.cddl would be the same as inputs/foo.cddl * common import override useful for projects like CML that, once generated, have common imports like error, serialization, etc in a certain location which might be used by other crates/modules using cddl-codegen this lets us avoid a lot of imports/module changes by hand in this case
- Loading branch information
1 parent
2f13b32
commit b05d631
Showing
13 changed files
with
231 additions
and
83 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.