# 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.88"
name = "tij"
version = "0.4.21"
authors = ["nakamura.shuta <nakamura.shuta@classmethod.jp>"]
build = false
exclude = [
    ".work/",
    ".github/",
    "CLAUDE.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Text-mode interface for Jujutsu - a TUI for jj version control"
homepage = "https://github.com/nakamura-shuta/tij"
documentation = "https://docs.rs/tij"
readme = "README.md"
keywords = [
    "jujutsu",
    "jj",
    "tui",
    "vcs",
    "git",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/nakamura-shuta/tij"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.color-eyre]
version = "0.6.3"

[dependencies.crossterm]
version = "0.29"

[dependencies.ratatui]
version = "0.30"

[dependencies.regex]
version = "1"

[dependencies.scopeguard]
version = "1"

[dependencies.thiserror]
version = "2.0"

[dev-dependencies.insta]
version = "1.46.3"
features = ["redactions"]

[dev-dependencies.proptest]
version = "1.10.0"

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

[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
strip = true
