# 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.66.0"
name = "tui-term"
version = "0.1.2"
authors = ["Alexander Kenji Berthold <aks.kenji@protonmail.com>"]
include = [
    "src/**/*",
    "examples/*",
    "benches/*",
    "LICENSE",
    "README.md",
    "CHANGELOG.md",
]
autoexamples = true
description = "A pseudoterminal widget for ratatui"
documentation = "https://docs.rs/tui-term/latest/tui-term/"
readme = "README.md"
keywords = [
    "tui",
    "terminal",
    "ratatui",
    "tty",
    "multiplexer",
]
categories = [
    "command-line-interface",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/a-kenji/tui-term"

[package.metadata.docs.rs]
all-features = true
cargo-args = [
    "-Zunstable-options",
    "-Zrustdoc-scrape-examples",
]

[profile.bench]
lto = "thin"

[profile.dev.package.insta]
opt-level = 3

[profile.dev.package.similar]
opt-level = 3

[[example]]
name = "simple_ls"
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 = "smux"
doc-scrape-examples = true

[[bench]]
name = "benches"
harness = false

[[bench]]
name = "iai"
harness = false

[dependencies.ratatui]
version = "0.21.0"

[dependencies.vt100]
version = "0.15.2"

[dev-dependencies.bytes]
version = "1.4.0"

[dev-dependencies.criterion]
version = "0.5.1"

[dev-dependencies.crossterm]
version = "0.26"

[dev-dependencies.insta]
version = "1.29.0"

[dev-dependencies.once_cell]
version = "1.17.1"

[dev-dependencies.portable-pty]
version = "0.8.1"

[dev-dependencies.pty-process]
version = "0.3.0"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.tracing]
version = "0.1.37"

[dev-dependencies.tracing-subscriber]
version = "0.3.17"
