strum 0.22.0

Helpful macros for working with enums and strings
Documentation

Strum

Build Status Latest Version Rust Documentation

Strum is a set of macros and traits for working with enums and strings easier in Rust.

The full version of the README can be found on Github.

Including Strum in Your Project

Import strum and strum_macros into your project by adding the following lines to your Cargo.toml. Strum_macros contains the macros needed to derive all the traits in Strum.

[dependencies]
strum = "0.22"
strum_macros = "0.22"

# You can also access strum_macros exports directly through strum using the "derive" feature
strum = { version = "0.22", features = ["derive"] }