Cargo Features

tauri-utils has no features set by default.

[dependencies]
tauri-utils = { version = "2.8.2", features = ["build", "compression", "schema", "isolation", "process-relaunch-dangerous-allow-symlink-macos", "config-json5", "config-toml", "resources", "html-manipulation"] }
build = cargo_metadata, html-manipulation, proc-macro2, quote, schema, swift-rs

Affects acl::build, tauri-utils::tokens, tauri-utils::build

compression = brotli
schema build? = schemars

Affects acl::schema

isolation = aes-gcm, getrandom, serialize-to-javascript

Affects html::inject_codegen_isolation_script, pattern::isolation

config-json5 = json5

Affects parse::parse_json5, parse::parse_json5_value

config-toml
resources = walkdir

Affects tauri-utils::resources

html-manipulation build?

Enables html5ever ^0.29 and kuchikiki

Affects tauri-utils::html

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?
proc-macro2 build?
quote build?
schemars schema?

Enables schemars ^0.8.21

Our code requires at least 0.8.21 so don't change this to 0.8

aes-gcm isolation?
getrandom isolation?

Enables getrandom ^0.3

serialize-to-javascript isolation?
json5 config-json5?

Enables json5 ^0.4

walkdir resources?
cargo_metadata build?

Enables cargo_metadata ^0.19

swift-rs mac build?