Cargo Features
[dependencies]
bui-backend-codegen = { version = "0.9.1", default-features = false, features = ["bundle_files", "serve_files"] }
- default = bundle_files
-
The
bundle_files
feature is set by default wheneverbui-backend-codegen
is added without
somewhere in the dependency tree.default-features = false - bundle_files default = includedir_codegen, walkdir
- serve_files
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.