# 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-core"
version = "0.2.2"
authors = ["thomasschafer97@gmail.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core find-and-replace functionality"
homepage = "https://github.com/thomasschafer/scooter/tree/main/scooter-core"
readme = "README.md"
keywords = [
    "find",
    "search",
    "replace",
]
license = "MIT"
repository = "https://github.com/thomasschafer/scooter/tree/main/scooter-core"
resolver = "2"

[features]
default = []
steel = [
    "dep:steel-core",
    "dep:steel-derive",
]
term = ["crossterm"]

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

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

[dependencies.anyhow]
version = "1.0.100"

[dependencies.bitflags]
version = "2.10.0"

[dependencies.crossterm]
version = "0.28.1"
optional = true

[dependencies.etcetera]
version = "0.11.0"

[dependencies.frep-core]
version = "0.1.7"

[dependencies.ignore]
version = "0.4.25"

[dependencies.log]
version = "0.4.28"

[dependencies.rayon]
version = "1.11.0"

[dependencies.serde]
version = "1.0.228"

[dependencies.similar]
version = "2.7.0"

[dependencies.steel-core]
version = "0.7.0"
features = [
    "dylibs",
    "sync",
]
optional = true

[dependencies.steel-derive]
version = "0.6.0"
optional = true

[dependencies.syntect]
version = "5.3.0"

[dependencies.termini]
version = "1.0.0"

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

[dependencies.toml]
version = "0.9.8"

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

[dev-dependencies.insta]
version = "1.43.2"

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

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

[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"
