From 6246ec0dd8e75c89adcc3f8431bc0dca690b536c Mon Sep 17 00:00:00 2001 From: yukkop Date: Mon, 11 Mar 2024 01:37:52 +0100 Subject: [PATCH] docs(basic): setup readme.md --- crate/bevy_controls/example/basic/Cargo.toml | 4 ++-- crate/bevy_controls/example/basic/README.md | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 crate/bevy_controls/example/basic/README.md diff --git a/crate/bevy_controls/example/basic/Cargo.toml b/crate/bevy_controls/example/basic/Cargo.toml index 15d8e52..c9d5064 100644 --- a/crate/bevy_controls/example/basic/Cargo.toml +++ b/crate/bevy_controls/example/basic/Cargo.toml @@ -7,8 +7,8 @@ edition = "2021" target-dir = "../../../../target" [features] -x11 = ["bevy/x11", "bevy/bevy_winit"] -wayland = ["bevy/wayland", "bevy/bevy_winit"] +x11 = ["bevy/x11"] +wayland = ["bevy/wayland"] windows = ["bevy/bevy_winit"] [dependencies] diff --git a/crate/bevy_controls/example/basic/README.md b/crate/bevy_controls/example/basic/README.md new file mode 100644 index 0000000..43bd911 --- /dev/null +++ b/crate/bevy_controls/example/basic/README.md @@ -0,0 +1,6 @@ +Basic example + +to run +```bash + cargo run --feature '' +```