bevy_puffin
bevy_puffin copied to clipboard
Integration layer between Bevy, puffin and tracing libraries
bevy_puffin
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
tracingintegration (EmbarkStudios/puffin#79) puffin_tracingsupport (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
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
at your option.
See also
Bevy support table
| bevy | bevy_puffin |
|---|---|
| 0.10 | 0.4 |
| 0.9 | 0.3 |
| 0.8 | 0.2 |
| 0.7 | 0.1 |