Macros for generating Rust types from Codas.
export_coda!
This macro parses a coda from a file path relative to the crate's workspace root path, and generating Rust data structures for the coda in-place.
Note: A crate's workspace root is always the top-most directory containing a
Cargo.toml.
Here's an example that exports Rust data structures
for the greeter_coda.md:
# use *;
# use export_coda;
// The file path should be relative to
// the _root_ of a crate's workspace.
export_coda!;
#
License
Copyright 2024 Alicorn Systems, Inc.
Licensed under the GNU Affero General Public License version 3, as published by the Free Software Foundation. Refer to the license file for more information.
If you have any questions, please reach out to [hello@alicorn.systems].