perfetto-sdk-sys

Crates.ioperfetto-sdk-sys
lib.rsperfetto-sdk-sys
version0.2.3
created_at2025-11-06 19:37:02.834039+00
updated_at2026-01-15 12:12:23.082807+00
descriptionLow-level FFI bindings for Perfetto
homepagehttps://www.perfetto.dev
repositoryhttps://github.com/google/perfetto
max_upload_size
id1920213
size11,443,418
David Reveman (dreveman)

documentation

README

perfetto-sdk-sys

Low-level FFI bindings for Perfetto.

Features

vendored (default)

Compiles the Perfetto C library from the included amalgamated source. This is the default and recommended option for most users.

bindgen

Regenerates the Rust bindings from the C headers at build time using bindgen. This requires libclang to be installed on the system.

By default, pre-generated bindings are used, which avoids the libclang dependency and speeds up build times. Enable this feature when:

  • You've modified the C headers and need updated bindings
  • You're targeting a platform where the pre-generated bindings don't work
  • You want to ensure bindings match your specific libclang version
cargo build --features bindgen
Commit count: 80873

cargo fmt