[package] name = "tui-term" description = "A pseudoterminal widget for ratatui" version = "0.2.0" authors = ["Alexander Kenji Berthold "] edition = "2021" include = [ "src/**/*", "examples/*", "benches/*", "LICENSE", "README.md", "CHANGELOG.md", "test/*", ] license = "MIT" readme = "README.md" documentation = "https://docs.rs/tui-term/latest/tui-term/" repository = "https://github.com/a-kenji/tui-term" autoexamples = true rust-version = "1.74.0" keywords = ["tui", "terminal", "ratatui", "tty", "multiplexer"] categories = ["command-line-interface", "command-line-utilities"] [features] default = ["vt100"] unstable = ["dep:portable-pty"] [dependencies] ratatui = { version = "0.29.0", default-features = false } vt100 = { version = "0.15.2", optional = true } portable-pty = { version = "0.8.1", optional = true } [dev-dependencies] bytes = "1.8.0" criterion = { version = "0.5.1", features = ["html_reports"] } # divan now needs unstable rust, activate manually for now divan = "0.1.14" #TODO: go back to release version, once it is fixed # iai = "0.1.1" iai = { git = "https://github.com/sigaloid/iai", rev = "6c83e942" } insta = "1.40.0" once_cell = "1.20.2" # for examples # enable the features used in tests ratatui = { version = "0.29.0", default-features = true } crossterm = "0.28" portable-pty = "0.8.1" tokio = { version = "1", features = ["full"] } tracing = "0.1.40" tracing-subscriber = "0.3.18" [profile.dev.package.insta] opt-level = 3 [profile.dev.package.similar] opt-level = 3 [profile.bench] lto = "thin" [[bench]] name = "benches" harness = false [[bench]] name = "iai" harness = false [[bench]] name = "divan" harness = false [[example]] name = "simple_ls_chan" doc-scrape-examples = true [[example]] name = "simple_ls_rw" doc-scrape-examples = true [[example]] name = "long_running" doc-scrape-examples = true [[example]] name = "nested_shell" doc-scrape-examples = true [[example]] name = "nested_shell_async" doc-scrape-examples = true [[example]] name = "simple_ls_controller" required-features = ["unstable"] [[example]] name = "smux" doc-scrape-examples = true [package.metadata.docs.rs] all-features = true # see https://doc.rust-lang.org/nightly/rustdoc/scraped-examples.html cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]