Cargo Features

[dependencies]
actix-web-codegen = { version = "4.3.0", default-features = false, features = ["compat-routing-macros-force-pub"] }
default = compat-routing-macros-force-pub

The compat-routing-macros-force-pub feature is set by default whenever actix-web-codegen is added without default-features = false somewhere in the dependency tree.

compat-routing-macros-force-pub default

actix-web-codegen has 2 features without comments.