Cargo Features

freedesktop-categories has no features set by default.

[dependencies]
freedesktop-categories = { version = "0.2.0", features = ["generate-map"] }
generate-map = freedesktop-categories-codegen

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.

freedesktop-categories-codegen build generate-map?