Stand With Ukraine

bevy_puffin

Crates.io Documentation MIT/Apache 2.0 Downloads Rust

This crate integrates the puffin library into Bevy.

It provides PuffinTracePlugin to use as a replacement for the Bevy's default LogPlugin plugin and exposes PuffinLayer, which allows users to set up tracing manually with puffin as a subscriber layer.

The main goal of this plugin is to demonstrate the missing bits for the puffin support in Bevy: - Add tracing integration (EmbarkStudios/puffin#79) - puffin_tracing support (bevyengine/bevy#4730)

If these two PRs get merged, there's a good chance that this plugin will be discontinued.

For the usage example, see examples/main.rs.

License

bevy_puffin is dual-licensed under either

at your option.

See also

Bevy support table

| bevy | bevy_puffin | |------|-----------| | 0.7 | 0.1 |