Cargo Features

Tauri-Interop has no features set by default.

[dependencies]
tauri-interop = { version = "2.1.6", features = ["event", "initial_value", "leptos"] }
event

Enables event of tauri-interop-macro

Affects bindings::listen, tauri-interop::event

initial_value

Enables initial_value of tauri-interop-macro

Affects emit::state_helper, emit::ManagedEmit, event::Field.get_value, event::EventError

leptos

Enables leptos of tauri-interop-macro and leptos ^0.6

leptos feature

Affects listen::Listen.use_field