# 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 = "cockpit"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal multiplexer library for Ratatui applications"
readme = "README.md"
keywords = [
    "tui",
    "terminal",
    "multiplexer",
    "ratatui",
    "pty",
]
categories = ["command-line-interface"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/centy-io/cockpit"

[lib]
name = "cockpit"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[dependencies.anyhow]
version = "1"

[dependencies.crossterm]
version = "0.28"
features = ["event-stream"]

[dependencies.portable-pty]
version = "0.8"

[dependencies.ratatui]
version = "0.29"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt-multi-thread",
    "macros",
]

[dependencies.tracing]
version = "0.1"

[dependencies.vt100]
version = "0.15"

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

[lints.clippy.pedantic]
level = "warn"
priority = 0

[lints.rust]
unsafe_code = "forbid"
