Cargo Features
[dependencies]
tauri-build = { version = "2.0.3", default-features = false, features = ["codegen", "isolation", "config-json", "config-json5", "config-toml"] }
- default = config-json
-
The
config-json
feature is set by default whenevertauri-build
is added without
somewhere in the dependency tree.default-features = false - codegen = quote, tauri-codegen
- isolation
-
Enables isolation of tauri-codegen and tauri-utils
- config-json default
- 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.