29 releases (breaking)
new 0.26.0 | Dec 7, 2024 |
---|---|
0.25.0 | Nov 18, 2024 |
0.24.0 | Oct 11, 2024 |
0.22.0 | Jul 25, 2024 |
0.9.1 | Jul 19, 2023 |
#94 in Game dev
705 downloads per month
Used in 2 crates
195KB
2.5K
SLoC
bevy_cosmic_edit
This bevy plugin provides multiline text editing for bevy apps, thanks to cosmic_text crate!
Emoji, ligatures, and other fancy stuff is supported!
Usage
⚠️ Warning: This plugin is currently in early development, and its API is subject to change.
Explore examples folder for basic usage.
Native:
cargo r --example font_per_widget
Wasm:
cargo install wasm-server-runner
RUSTFLAGS=--cfg=web_sys_unstable_apis cargo r --target wasm32-unknown-unknown --example basic_ui
Compatibility
bevy | bevy_cosmic_edit |
---|---|
0.15.0 | 0.26 - latest |
0.14.0 | 0.21 - 0.25 |
0.13.0 | 0.16 - 0.20 |
0.12.* | 0.15 |
0.11.* | 0.8 - 0.14 |
License
MIT or Apache-2.0
lib.rs
:
bevy_cosmic_edit
Multiline text editor using cosmic_text
for the bevy
game engine!
This bevy plugin provides multiline text editing for bevy apps, thanks to cosmic_text crate! Emoji, ligatures, and other fancy stuff is supported!
Usage
Warning: This plugin is currently in early development, and its API is subject to change.
Check the examples folder for much more!
Native:
$ cargo r --example font_per_widget
Wasm:
$ cargo install wasm-server-runner
$ RUSTFLAGS=--cfg=web_sys_unstable_apis cargo r --target wasm32-unknown-unknown --example basic_ui
Compatibility
bevy | bevy_cosmic_edit |
---|---|
0.15.0 | 0.26 - latest |
0.14.0 | 0.21 - 0.25 |
0.13.0 | 0.16 - 0.20 |
0.12.* | 0.15 |
0.11.* | 0.8 - 0.14 |
Feature flags
License
MIT or Apache-2.0
Dependencies
~60–98MB
~2M SLoC