Thanks to visit codestin.com
Credit goes to lib.rs

Adding flat_enum library as a dependency

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

cargo add flat_enum

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

flat_enum = "0.1.1"

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

Back to the crate overview.