# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "tuviv" version = "0.7.0" authors = ["John Toohey "] build = false exclude = ["icon.png"] autobins = false autoexamples = false autotests = false autobenches = false description = "A TUI library focused on layout" readme = "README.md" keywords = [ "tui", "layout", "ui", ] categories = ["command-line-interface"] license = "LGPL-3.0-or-later" repository = "https://gitlab.com/john_t/tuviv" [package.metadata.docs.rs] features = [ "crossterm", "serde", "kitty", ] [lib] name = "tuviv" path = "src/lib.rs" [[example]] name = "align" path = "examples/align.rs" [[example]] name = "box_sizing" path = "examples/box_sizing.rs" [[example]] name = "grid" path = "examples/grid.rs" [[example]] name = "image" path = "examples/image.rs" [[example]] name = "kitty_image" path = "examples/kitty_image.rs" [[example]] name = "layout" path = "examples/layout.rs" [[example]] name = "mouse" path = "examples/mouse.rs" [[example]] name = "progress" path = "examples/progress.rs" [[example]] name = "scroll" path = "examples/scroll.rs" [[example]] name = "table" path = "examples/table.rs" [[example]] name = "wrapping_flexbox" path = "examples/wrapping_flexbox.rs" [dependencies.base64] version = "0.21.5" optional = true [dependencies.bitflags] version = "2" [dependencies.crossterm] version = "0.27" optional = true [dependencies.either] version = "1.13.0" optional = true [dependencies.image] version = "0.24.6" optional = true default-features = false [dependencies.kitty_image] version = "0.1.0" features = ["image"] optional = true [dependencies.le] version = "0.7.0" package = "layout_engine" [dependencies.num-traits] version = "0.2.16" optional = true [dependencies.serde] version = "1.0.164" features = ["derive"] optional = true [dependencies.serde_with] version = "3.0.0" optional = true [dependencies.unicode-segmentation] version = "1" [dependencies.unicode-width] version = "0.1" [dev-dependencies.image] version = "0.24.6" features = ["jpeg"] [features] default = ["crossterm"] either = [ "dep:either", "le/either", ] kitty = [ "image", "kitty_image", "crossterm", "image/png", ] serde = [ "dep:serde", "dep:serde_with", "bitflags/serde", ]