From 0fee8e14e1f50e51ea7908f338949d0ddad40564 Mon Sep 17 00:00:00 2001 From: Cobrand Date: Sun, 14 May 2017 07:52:06 +0200 Subject: [PATCH] Updated README to run example with feature if needed --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 244d2147..c2f9fc52 100644 --- a/README.md +++ b/README.md @@ -293,7 +293,11 @@ We have several simple example projects included: > cargo run --example demo -You can see the full list in the `examples/` folder +You can see the full list in the `examples/` folder. Some examples require some features, you can enable them like so: + +> cargo run --example gfx-demo --features "gfx" + +Replace "gfx" by the feature(s) needed for the example you want. # OpenGL