Cargo Features

tauri-utils has no features set by default.

[dependencies]
tauri-utils = { version = "2.1.0", features = ["build", "compression", "schema", "isolation", "process-relaunch-dangerous-allow-symlink-macos", "config-json5", "config-toml", "resources"] }
build = cargo_metadata, 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

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?
aes-gcm isolation?
getrandom isolation?
serialize-to-javascript isolation?

Enables serialize-to-javascript =0.1.1

json5 config-json5?
walkdir resources?
cargo_metadata build?

Enables cargo_metadata ^0.18

swift-rs mac build?