# 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 = "mcfly"
version = "0.8.3"
authors = ["Andrew Cantino <cantino@users.noreply.github.com>"]
exclude = [
    "HomebrewFormula",
    "HomebrewFormula/*",
    "pkg/*",
    "docs/*",
]
description = "McFly replaces your default ctrl-r shell history search with an intelligent search engine that takes into account your working directory and the context of recently executed commands. McFly's suggestions are prioritized in real time with a small neural network."
readme = "README.md"
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/cantino/mcfly"

[profile.dev]
debug = 2

[profile.release]
lto = true

[dependencies.chrono]
version = "0.4"

[dependencies.chrono-systemd-time]
version = "0.3"

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

[dependencies.crossterm]
version = "0.26"
features = ["use-dev-tty"]

[dependencies.csv]
version = "1"

[dependencies.directories-next]
version = "2.0"

[dependencies.humantime]
version = "2.1"

[dependencies.itertools]
version = "0.10"

[dependencies.path-absolutize]
version = "3.0.13"

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1"
features = [
    "perf",
    "std",
]
default-features = false

[dependencies.rusqlite]
version = "0.28"
features = [
    "functions",
    "unlock_notify",
]

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

[dependencies.serde_json]
version = "1"

[dependencies.shellexpand]
version = "2.1"

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

[features]
default = ["sqlite-bundled"]
sqlite-bundled = ["rusqlite/bundled"]

[target."cfg(not(windows))".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.autopilot]
version = "0.4.0"
