Cargo Features

tauri-codegen = { version = "2.0.0-alpha.11", default-features = false, features = ["compression", "isolation", "config-json5", "config-toml", "regex"] }
default = compression

The compression feature is set by default whenever tauri-codegen is added without default-features = false somewhere in the dependency tree.

compression default = brotli

Enables compression of tauri-utils


Enables isolation of tauri-utils


Enables config-json5 of tauri-utils


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.

brotli compression

With std

regex implicit feature

With default features