hUI/hui/Cargo.toml

38 lines
982 B
TOML
Raw Normal View History

2024-02-17 20:43:46 +00:00
[package]
name = "hui"
description = "Simple UI library for games and other interactive applications"
repository = "https://github.com/griffi-gh/hui"
2024-02-19 16:49:01 +00:00
readme = "../README.md"
2024-02-17 20:43:46 +00:00
authors = ["griffi-gh <prasol258@gmail.com>"]
rust-version = "1.75"
2024-02-19 16:27:58 +00:00
version = "0.1.0-alpha.3"
2024-02-17 20:43:46 +00:00
edition = "2021"
license = "GPL-3.0-or-later"
publish = true
2024-02-17 20:51:54 +00:00
include = [
"assets/**/*",
"src/**/*.rs",
"Cargo.toml",
]
2024-02-17 20:43:46 +00:00
[dependencies]
hashbrown = "0.14"
nohash-hasher = "0.2"
glam = "0.25"
fontdue = "0.8"
rect_packer = "0.2"
log = "0.4"
2024-02-19 18:40:18 +00:00
nz = "0.3"
document-features = "0.2"
2024-02-17 20:43:46 +00:00
[features]
default = ["builtin_elements", "builtin_font", "pixel_perfect"]
## Enable the built-in font (ProggyTiny, adds 35kb to the executable)
2024-02-17 20:43:46 +00:00
builtin_font = []
## Enable the built-in elements (`Container`, `ProgressBar`, etc.)
2024-02-17 20:43:46 +00:00
builtin_elements = []
## Round vertex positions to nearest integer coordinates (fixes blurry text)
pixel_perfect = []
2024-02-17 20:43:46 +00:00
#parallel = ["dep:rayon", "fontdue/parallel"]