# tauri-plugin-conduit
[](https://crates.io/crates/tauri-plugin-conduit)
[](https://docs.rs/tauri-plugin-conduit)
[](https://github.com/userFRM/tauri-conduit/actions/workflows/ci.yml)
[](https://github.com/userFRM/tauri-conduit#license)
Tauri v2 plugin for [conduit](https://github.com/userFRM/tauri-conduit) -- binary IPC over the `conduit://` custom protocol.
Part of the [tauri-conduit](https://github.com/userFRM/tauri-conduit) workspace (v2.1.1).
## Usage
```rust
use tauri_conduit::{command, handler};
#[command]
fn greet(name: String) -> String {
format!("Hello, {name}!")
}
tauri::Builder::default()
.plugin(
tauri_plugin_conduit::init()
.handler("greet", handler!(greet))
.channel("telemetry")
.channel_ordered("events")
.build()
)
.run(tauri::generate_context!())
.unwrap();
```
## Security
- Per-launch 32-byte invoke key with constant-time validation
- No network surface -- everything runs in-process
- Flat invoke key (no per-command ACL) -- simpler than Tauri's capability system
See the [workspace README](https://github.com/userFRM/tauri-conduit) for full documentation, streaming examples, and benchmark numbers.
## License
Licensed under either of [MIT](https://github.com/userFRM/tauri-conduit/blob/master/LICENSE-MIT) or [Apache-2.0](https://github.com/userFRM/tauri-conduit/blob/master/LICENSE-APACHE) at your option.