kubi/kubi-ui/Cargo.toml

28 lines
814 B
TOML
Raw Normal View History

2023-11-21 07:08:22 -06:00
[package]
name = "kubi-ui"
version = "0.0.0"
edition = "2021"
publish = false
[dependencies]
hashbrown = "0.14"
nohash-hasher = "0.2"
glam = { version = "0.24", features = ["approx"] }
2023-11-21 09:45:41 -06:00
glium = { git = "https://github.com/glium/glium", rev = "968fc92378caf", optional = true }
2023-11-23 10:14:02 -06:00
fontdue = { version = "0.7", optional = true }
2023-11-23 10:59:14 -06:00
rect_packer = { version = "0.2.1", optional = true }
2023-11-22 04:56:46 -06:00
log = "0.4"
2023-11-21 07:08:22 -06:00
2023-11-22 18:48:04 -06:00
[dev-dependencies]
2023-11-23 04:10:35 -06:00
kubi-logging = { path = "../kubi-logging" }
2023-11-22 18:48:04 -06:00
glium = { git = "https://github.com/glium/glium", rev = "968fc92378caf" }
2023-11-23 04:10:35 -06:00
winit = "0.29"
2023-11-22 18:48:04 -06:00
2023-11-21 07:08:22 -06:00
[features]
2023-11-23 10:59:14 -06:00
default = ["builtin_elements", "texture_manager", "text_rendering", "builtin_font", "backend_glium"]
2023-11-21 07:08:22 -06:00
backend_glium = ["dep:glium"]
2023-11-23 10:59:14 -06:00
texture_manager = []
text_rendering = ["dep:fontdue", "texture_manager"]
2023-11-23 10:14:02 -06:00
builtin_font = ["text_rendering"]
builtin_elements = []