Cargo Features

logos-derive has no features set by default.

[dependencies]
logos-derive = { version = "0.15.0", features = ["debug", "forbid_unsafe"] }
debug

Enables debug messages

Enables debug of logos-codegen

forbid_unsafe

Don't use or generate unsafe code

Enables forbid_unsafe of logos-codegen