Skip to content

Commit

Permalink
Update headless example / add feature docs (bevyengine#502)
Browse files Browse the repository at this point in the history
* Update headless example

* Add missing docs for features
  • Loading branch information
memoryruins authored and mrk-its committed Oct 6, 2020
1 parent 1a143c0 commit f94c246
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/cargo_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ GUI support.

Make use of GPU via [WebGPU](https://gpuweb.github.io/gpuweb/) support.

### render
The render pipeline and all render related plugins.

### dynamic_plugins
Plugins for dynamic loading (libloading)

### png

PNG picture format support.
Expand Down
3 changes: 2 additions & 1 deletion examples/app/headless.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ use std::time::Duration;
// by making your import look like this in your Cargo.toml
//
// [dependencies]
// bevy = { version = "0.1.3", default-features = false, features = ["headless"] }
// bevy = { version = "*", default-features = false }
// # replace "*" with the most recent version of bevy

fn main() {
// this app runs once
Expand Down

0 comments on commit f94c246

Please sign in to comment.