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 |
#1287 in Game dev
43 downloads per month
32KB
219 lines
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.9 | 0.3 |
| 0.8 | 0.2 |
| 0.7 | 0.1 |
Dependencies
~43–82MB
~1.5M SLoC