# 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" rust-version = "1.65.0" name = "ratatui" version = "0.22.0" authors = [ "Florian Dehau ", "The Ratatui Developers", ] exclude = [ "assets/*", ".github", "Makefile.toml", "CONTRIBUTING.md", "*.log", "tags", ] autoexamples = true description = "A library to build rich terminal user interfaces or dashboards" documentation = "https://docs.rs/ratatui/latest/ratatui/" readme = "README.md" keywords = [ "tui", "terminal", "dashboard", ] license = "MIT" repository = "https://github.com/tui-rs-revival/ratatui" [package.metadata.docs.rs] all-features = true cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "barchart" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "block" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "canvas" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "calendar" doc-scrape-examples = true required-features = [ "crossterm", "widget-calendar", ] [[example]] name = "chart" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "custom_widget" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "demo" doc-scrape-examples = false [[example]] name = "gauge" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "hello_world" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "layout" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "list" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "panic" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "paragraph" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "popup" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "scrollbar" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "sparkline" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "table" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "tabs" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "user_input" doc-scrape-examples = true required-features = ["crossterm"] [[example]] name = "inline" doc-scrape-examples = true required-features = ["crossterm"] [[bench]] name = "paragraph" harness = false [dependencies.bitflags] version = "2.3" [dependencies.cassowary] version = "0.3" [dependencies.crossterm] version = "0.26" optional = true [dependencies.indoc] version = "2.0" [dependencies.paste] version = "1.0" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.termion] version = "2.0" optional = true [dependencies.termwiz] version = "0.20.0" optional = true [dependencies.time] version = "0.3.11" features = ["local-offset"] optional = true [dependencies.unicode-segmentation] version = "1.10" [dependencies.unicode-width] version = "0.1" [dev-dependencies.anyhow] version = "1.0.71" [dev-dependencies.argh] version = "0.1" [dev-dependencies.cargo-husky] version = "1.5.0" features = ["user-hooks"] default-features = false [dev-dependencies.criterion] version = "0.5" features = ["html_reports"] [dev-dependencies.fakeit] version = "1.1" [dev-dependencies.itertools] version = "0.10" [dev-dependencies.rand] version = "0.8" [features] all-widgets = ["widget-calendar"] default = ["crossterm"] macros = [] serde = [ "dep:serde", "bitflags/serde", ] widget-calendar = ["time"] [badges]