Adding struct_metadata library as a dependency

Run this command in a terminal, in your project's directory:

cargo add struct-metadata

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

struct-metadata = "1.3.0"

The struct_metadata library will be automatically available globally. Read the struct_metadata library documentation.

Back to the crate overview.