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 - 2026 With Caer, LLC and Alicorn Systems, LLC.
Licensed under the MIT license. Refer to the license file for more info.