Cargo Features

tauri-utils has no features set by default.

tauri-utils = { version = "2.0.0-alpha.11", features = ["build", "compression", "schema", "isolation", "process-relaunch-dangerous-allow-symlink-macos", "config-json5", "config-toml", "resources"] }
build = proc-macro2, quote
compression = brotli
schema = schemars
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 = toml
resources = glob, walkdir

Affects tauri-utils::resources

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

brotli compression?

With std

proc-macro2 build?

With default (proc-macro)

quote build?

With default (proc-macro)

schemars schema?

With url and default (derive)

aes-gcm isolation?

With default features

getrandom isolation?

With std

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

With default features

glob resources?
walkdir resources?