# 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 = "2024"
rust-version = "1.91"
name = "tenex"
version = "1.0.3"
authors = ["Quinten Lisowe"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Terminal multiplexer for AI coding agents"
homepage = "https://github.com/Mockapapella/tenex"
readme = "README.md"
keywords = [
    "cli",
    "tui",
    "ai",
    "agents",
    "terminal",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/Mockapapella/tenex"
resolver = "3"

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

[[bin]]
name = "tenex"
path = "src/main.rs"

[[test]]
name = "cli_binary_test"
path = "tests/cli_binary_test.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "integration_render"
path = "tests/integration_render.rs"

[dependencies.ansi-to-tui]
version = "7.0"
default-features = false

[dependencies.anyhow]
version = "1.0"
features = ["std"]
default-features = false

[dependencies.chrono]
version = "0.4"
features = [
    "serde",
    "std",
    "clock",
]
default-features = false

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "std",
    "help",
]
default-features = false

[dependencies.ratatui]
version = "0.29"
features = ["crossterm"]
default-features = false

[dependencies.semver]
version = "1.0.27"
features = ["std"]
default-features = false

[dependencies.serde]
version = "1.0"
features = [
    "derive",
    "std",
]
default-features = false

[dependencies.serde_json]
version = "1.0"
features = ["std"]
default-features = false

[dependencies.shell-words]
version = "1.1.1"
features = ["std"]
default-features = false

[dependencies.thiserror]
version = "2.0"
default-features = false

[dependencies.tracing]
version = "0.1"
default-features = false

[dependencies.tracing-appender]
version = "0.2"
default-features = false

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "std",
    "fmt",
]
default-features = false

[dependencies.uuid]
version = "1.19"
features = [
    "v4",
    "serde",
    "std",
]
default-features = false

[dev-dependencies.mockito]
version = "1.7"
default-features = false

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.proptest]
version = "1"
features = ["std"]
default-features = false

[dev-dependencies.rstest]
version = "0.23"
default-features = false

[dev-dependencies.tempfile]
version = "3.19"

[target."cfg(not(windows))".dependencies.git2]
version = "0.19"
default-features = false

[target."cfg(not(windows))".dependencies.ureq]
version = "3.1.4"
features = [
    "json",
    "rustls",
]
default-features = false

[target."cfg(windows)".dependencies.ureq]
version = "3.1.4"
features = [
    "json",
    "native-tls",
]
default-features = false

[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
dbg_macro = "deny"
expect_used = "deny"
multiple_crate_versions = "allow"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
missing_copy_implementations = "deny"
missing_debug_implementations = "deny"
missing_docs = "deny"
non_ascii_idents = "forbid"
unfulfilled_lint_expectations = "deny"
unsafe_code = "forbid"
warnings = "deny"

[lints.rust.future_incompatible]
level = "deny"
priority = -1

[lints.rust.nonstandard_style]
level = "deny"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rustdoc.all]
level = "deny"
priority = -1

[profile.coverage]
opt-level = 0
debug = 2
inherits = "test"

[profile.dev]
lto = "off"
codegen-units = 1
debug = 2
debug-assertions = true
overflow-checks = true
incremental = false

[profile.release]
lto = "fat"
codegen-units = 1
debug = 1
debug-assertions = false
panic = "abort"
overflow-checks = true
strip = "symbols"

[profile.test]
inherits = "dev"
