-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathCargo.toml
More file actions
56 lines (48 loc) · 1.68 KB
/
Copy pathCargo.toml
File metadata and controls
56 lines (48 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[package]
name = "bevy_ratatui"
description = "A Bevy plugin for building terminal user interfaces with Ratatui"
version = "0.11.1"
edition = "2024"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ratatui/bevy_ratatui"
documentation = "https://docs.rs/bevy_ratatui"
authors = ["cxreiff <cooper@cxreiff.com>", "Joshka"]
categories = ["command-line-interface"]
keywords = ["cli", "ratatui", "terminal", "tui", "bevy"]
[dependencies]
bevy = { version = "0.18", default-features = false }
bitflags = "2.8.0"
color-eyre = "0.6.3"
ratatui = { version = "0.30.0", default-features = false }
soft_ratatui = { version = "0.1", optional = true }
tracing = "0.1.44"
[dev-dependencies]
rand = "0.9.3"
bevy = { version = "0.18", default-features = false, features = ["bevy_state"] }
ratatui = { version = "0.30.0", default-features = false, features = [
"underline-color",
"layout-cache",
"unstable-widget-ref",
] }
# Enable a small amount of optimization in debug mode
[profile.dev]
opt-level = 1
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
# Workaround for objc2-foundation crash on macOS 26 (Tahoe).
# See: https://github.com/bevyengine/bevy/issues/19625
[profile.dev.package.objc2]
debug-assertions = false
[features]
default = ["std", "async_executor", "crossterm", "keyboard", "mouse"]
crossterm = ["ratatui/crossterm"]
windowed = ["dep:soft_ratatui", "bevy/default"]
keyboard = ["bevy/keyboard"]
mouse = ["bevy/mouse"]
# Features for `std` platforms
std = ["bevy/std"]
async_executor = ["bevy/async_executor"]
# Features for `no_std` platforms
libm = ["bevy/libm"]
critical-section = ["bevy/critical-section"]