From f5146c189648b2d7cbb6d419421e9f7d16f22d70 Mon Sep 17 00:00:00 2001 From: memoryruins Date: Wed, 16 Sep 2020 16:02:53 -0400 Subject: [PATCH] Update headless example / add feature docs (#502) * Update headless example * Add missing docs for features --- docs/cargo_features.md | 6 ++++++ examples/app/headless.rs | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/cargo_features.md b/docs/cargo_features.md index fb44cd083e..441bc41e2b 100644 --- a/docs/cargo_features.md +++ b/docs/cargo_features.md @@ -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. diff --git a/examples/app/headless.rs b/examples/app/headless.rs index 34a6d3e94b..97aa7df0e2 100644 --- a/examples/app/headless.rs +++ b/examples/app/headless.rs @@ -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