Cargo Features
[dependencies]
tauri-codegen = { version = "2.0.0-beta.13", default-features = false, features = ["compression", "isolation", "config-json5", "config-toml", "regex"] }
- default = compression
-
The
compression
feature is set by default whenevertauri-codegen
is added without
somewhere in the dependency tree.default-features = false - compression default = brotli
-
Enables compression of tauri-utils
- isolation
-
Enables isolation of tauri-utils
- config-json5
-
Enables config-json5 of tauri-utils
- config-toml
-
Enables config-toml of tauri-utils
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.
- brotli compression
-
Enables brotli ^3
- regex implicit feature