# 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 = "octorus"
version = "0.5.6"
authors = ["ushironoko"]
build = false
exclude = [
    "benches/",
    ".github/",
    ".claude/",
    "assets/",
    "*.pending-snap",
    "**/snapshots/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A TUI tool for GitHub PR review, designed for Helix editor users"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ushironoko/octorus"

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

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.async-trait]
version = "0.1.88"

[dependencies.chrono]
version = "0.4.43"

[dependencies.clap]
version = "4.5.54"
features = ["derive"]

[dependencies.crossterm]
version = "0.28.1"

[dependencies.lasso]
version = "0.7.3"

[dependencies.notify]
version = "6.1.1"

[dependencies.phf]
version = "0.13.1"
features = ["macros"]

[dependencies.ratatui]
version = "0.30.0"

[dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.149"

[dependencies.shell-words]
version = "1.1.1"

[dependencies.smallvec]
version = "1.15.0"

[dependencies.syntect]
version = "5.3.0"
features = ["default-fancy"]
default-features = false

[dependencies.syntect-tui]
version = "3.0.4"

[dependencies.tempfile]
version = "3.24.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.49.0"
features = [
    "rt-multi-thread",
    "rt",
    "macros",
    "sync",
    "process",
    "io-util",
    "time",
]

[dependencies.tokio-util]
version = "0.7.18"

[dependencies.toml]
version = "0.8.23"

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.22"
features = [
    "fmt",
    "env-filter",
]

[dependencies.tree-sitter]
version = "0.26.3"

[dependencies.tree-sitter-bash]
version = "0.25.1"

[dependencies.tree-sitter-c]
version = "0.24.1"

[dependencies.tree-sitter-c-sharp]
version = "0.23.1"

[dependencies.tree-sitter-cpp]
version = "0.23.4"

[dependencies.tree-sitter-css]
version = "0.25.0"

[dependencies.tree-sitter-go]
version = "0.25.0"

[dependencies.tree-sitter-haskell]
version = "0.23.1"

[dependencies.tree-sitter-html]
version = "0.23.2"

[dependencies.tree-sitter-java]
version = "0.23.5"

[dependencies.tree-sitter-javascript]
version = "0.25.0"

[dependencies.tree-sitter-lua]
version = "0.4.1"

[dependencies.tree-sitter-md]
version = "0.5.2"

[dependencies.tree-sitter-moonbit]
version = "0.1.0"
package = "octorus-tree-sitter-moonbit"

[dependencies.tree-sitter-php]
version = "0.24.2"

[dependencies.tree-sitter-python]
version = "0.25.0"

[dependencies.tree-sitter-ruby]
version = "0.23.1"

[dependencies.tree-sitter-rust]
version = "0.24.0"

[dependencies.tree-sitter-svelte-ng]
version = "1.0.2"

[dependencies.tree-sitter-swift]
version = "0.7.1"

[dependencies.tree-sitter-typescript]
version = "0.23.2"

[dependencies.tree-sitter-vue3]
version = "0.1.0"
package = "octorus-tree-sitter-vue3"

[dependencies.tree-sitter-zig]
version = "1.1.2"

[dependencies.two-face]
version = "0.5.1"
features = ["syntect-default-fancy"]
default-features = false

[dependencies.unicode-width]
version = "0.2.2"

[dependencies.which]
version = "8.0.0"

[dependencies.xdg]
version = "2.5.2"

[dev-dependencies.assert_cmd]
version = "2.1.2"

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

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

[dev-dependencies.predicates]
version = "3.1.3"

[dev-dependencies.rand]
version = "0.9.1"

[dev-dependencies.rand_chacha]
version = "0.9.0"

[dev-dependencies.serial_test]
version = "3.3.1"

[profile.release]
lto = "thin"
strip = true
