[package] name = "tuviv" version = "0.7.0" authors = ["John Toohey "] description = "A TUI library focused on layout" readme = "README.md" repository = "https://gitlab.com/john_t/tuviv" edition = "2021" license = "LGPL-3.0-or-later" keywords = ["tui", "layout", "ui"] categories = ["command-line-interface"] exclude = ["icon.png"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] bitflags = "2" crossterm = { version = "0.27", optional = true } le = { version = "0.7.0", package = "layout_engine" } # le = { path = "../layout_engine/", package = "layout_engine" } unicode-segmentation = "1" unicode-width = "0.1" image = { version = "0.24.6", optional = true, default-features = false } serde = { version = "1.0.164", optional = true, features = ["derive"] } serde_with = {version = "3.0.0", optional = true } num-traits = { version = "0.2.16", optional = true } base64 = { version = "0.21.5", optional = true } kitty_image = { version = "0.1.0", features = ["image"], optional = true } either = { version = "1.13.0", optional = true } [features] default = ["crossterm"] serde = ["dep:serde", "dep:serde_with", "bitflags/serde"] kitty = ["image", "kitty_image", "crossterm", "image/png"] either = ["dep:either", "le/either"] [dev-dependencies] image = { version = "0.24.6", features = ["jpeg"] } [package.metadata.docs.rs] features = ["crossterm", "serde", "kitty"]