12 releases

0.3.4 Aug 5, 2025
0.3.3 Jul 25, 2024
0.3.2 May 29, 2024
0.3.1 Feb 7, 2024
0.1.0 Sep 18, 2023

#166 in Profiling

Download history 20/week @ 2025-10-02 1/week @ 2025-10-16 1/week @ 2025-10-23 6/week @ 2025-11-27 2/week @ 2025-12-04 1/week @ 2025-12-11 132/week @ 2025-12-25 101/week @ 2026-01-01

233 downloads per month
Used in 2 crates (via sps-core)

MIT/Apache

79KB
1.5K SLoC

Devtools for Tauri

Inspect, monitor, and understand your Tauri application with ease.

  • Easy Integration: With just a few lines of code, enable detailed event logging and metadata extraction for your application.
  • Rich Insights: Get insight into what your app is doing, Performance, Errors, Warnings, everything is available at a glance.
  • And more: This project is actively worked on, and we are open to hear your ideas, check out the Upcoming Features issue for details.

Getting Started

Ensure you have Tauri set up correctly. Then install the Rust instrumentation from crates.io:

cargo add devtools

Then add the following snippet to your tauri initialization code:

fn main() {
    #[cfg(debug_assertions)] // only enable instrumentation in development builds
    let devtools = devtools::init();

    let mut builder = tauri::Builder::default();

    #[cfg(debug_assertions)]
    {
        builder = builder.plugin(devtools);
    }

    builder
        .run(tauri::generate_context!())
        .expect("error while running tauri application");
}

And then run your app as usual, if everything is set up correctly devtools will print the following message: