Cargo Features

enumflags2 has no features set by default.

[dependencies]
enumflags2 = { version = "0.7.10", features = ["std", "serde"] }
std

Features from optional dependencies

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework