# 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 = "ltrait"
version = "1.1.0"
authors = ["satler <satler@satler.dev>"]
build = false
exclude = [".envrc"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Yet Another Fuzzy Finder (Builder) for OS Wide, inspired from vim-fall and ddu.vim (and xmonad)"
homepage = "https://crates.io/crates/ltrait"
documentation = "https://docs.rs/ltrait/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/ltrait/core"

[features]
default = ["log"]
log = [
    "dep:tracing-appender",
    "dep:tracing-subscriber",
]

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

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

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

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

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

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

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

[dependencies.dirs]
version = "6.0.0"

[dependencies.futures]
version = "0.3.31"

[dependencies.tokio-stream]
version = "0.1.17"

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-appender]
version = "0.2.3"
optional = true

[dependencies.tracing-subscriber]
version = "0.3.19"
features = ["local-time"]
optional = true

[dev-dependencies.async-stream]
version = "0.3.6"

[dev-dependencies.criterion]
version = "3.0.4"
features = [
    "async",
    "async_tokio",
    "tokio",
]
package = "codspeed-criterion-compat"

[dev-dependencies.tokio]
version = "1.43.0"
features = ["full"]
