Cargo Features
open-enum has no features set by default.
[dependencies]
open-enum = { version = "0.5.2", features = ["libc_", "std"] }
- libc_ = libc
-
This is not named libc because it would require "dep:libc", which doesn't work with trybuild: https://github.com/dtolnay/trybuild/issues/171.
Enables repr_c of open-enum-derive
- std
-
Enables repr_c of open-enum-derive
open-enum-derive:
Enable #[repr(C)] open enums
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.