#puffin #tracing #bevy #layer #integration #plugin #puffin-layer

bevy_puffin

Integration layer between Bevy, puffin and tracing

4 releases (breaking)

0.4.0 Apr 9, 2023
0.3.0 Dec 27, 2022
0.2.0 Aug 13, 2022
0.1.0 May 12, 2022

#1313 in Game dev

43 downloads per month

MIT/Apache

32KB
219 lines

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:

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.9 0.3
0.8 0.2
0.7 0.1

Dependencies

~33–67MB
~1M SLoC