# 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"
name = "scooter"
version = "0.9.1"
authors = ["thomasschafer97@gmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Interactive find and replace in the terminal"
homepage = "https://github.com/thomasschafer/scooter"
readme = "README.md"
keywords = [
    "cli",
    "find",
    "search",
    "replace",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/thomasschafer/scooter"
resolver = "2"

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.102"

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

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

[dependencies.etcetera]
version = "0.11.0"

[dependencies.futures]
version = "0.3.32"

[dependencies.ignore]
version = "0.4.25"

[dependencies.itertools]
version = "0.14.0"

[dependencies.log]
version = "0.4.29"

[dependencies.lru]
version = "0.17.0"

[dependencies.paste]
version = "1.0"

[dependencies.ratatui]
version = "0.30.0"
features = ["unstable-rendered-line-info"]

[dependencies.regex]
version = "1.12.3"

[dependencies.scooter-core]
version = "0.3.3"
features = ["term"]

[dependencies.simple-log]
version = "2.4.0"

[dependencies.tokio]
version = "1.52.1"
features = ["full"]

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

[dependencies.unicode-segmentation]
version = "1.13.2"

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

[dev-dependencies.indoc]
version = "2.0.7"

[dev-dependencies.insta]
version = "1.47.2"
features = ["filters"]

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

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

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

[dev-dependencies.two-face]
version = "0.5.1"
features = ["syntect-default-onig"]

[target.'cfg(target_os = "macos")'.dependencies.crossterm]
version = "0.29.0"
features = [
    "event-stream",
    "use-dev-tty",
    "libc",
]

[lints.clippy]
bool_assert_comparison = "allow"
if_not_else = "allow"
manual_string_new = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_raw_string_hashes = "allow"
redundant_else = "allow"
return_self_not_must_use = "allow"

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

[lints.rust]
rust_2018_idioms = "warn"
