docs(basic): setup readme.md
This commit is contained in:
@@ -7,8 +7,8 @@ edition = "2021"
|
|||||||
target-dir = "../../../../target"
|
target-dir = "../../../../target"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
x11 = ["bevy/x11", "bevy/bevy_winit"]
|
x11 = ["bevy/x11"]
|
||||||
wayland = ["bevy/wayland", "bevy/bevy_winit"]
|
wayland = ["bevy/wayland"]
|
||||||
windows = ["bevy/bevy_winit"]
|
windows = ["bevy/bevy_winit"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
Basic example
|
||||||
|
|
||||||
|
to run
|
||||||
|
```bash
|
||||||
|
cargo run --feature '<x11|wayland|windows>'
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user