[package]
name = "hstdb"
version = "2.0.1"
authors = ["Alexander Thaller <alexander.thaller@trivago.com>"]
edition = "2018"

description = "Better history management for zsh. Based on ideas from [https://github.com/larkery/zsh-histdb](https://github.com/larkery/zsh-histdb)."
documentation = "https://docs.rs/hstdb/"
homepage = "https://github.com/AlexanderThaller/hstdb"
license = "MIT"
readme = "README.md"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = ["histdb-import"]
histdb-import = ["rusqlite"]

[dependencies]
bincode = "1"
chrono = { version = "0.4", features = ["serde"] }
comfy-table = "4"
crossbeam-utils = "0.8"
csv = "1"
ctrlc = { version = "3", features = ["termination"] }
directories = "3"
flume = "0.10"
glob = "0.3"
hostname = "0.3"
humantime = "2"
log = { version = "0.4", features = ["serde"] }
pretty_env_logger = "0.4"
regex = "1"
rusqlite = { version = "0.25", optional = true }
serde = { version = "1", features = ["derive"] }
sled = "0.34"
structopt = "0.3"
thiserror = "1"
toml = "0.5"
uuid = { version = "0.8", features = ["serde", "v4"] }

[dev-dependencies]
tempfile = "3"
pretty_assertions = "1"

[profile.release]
lto = "fat"
panic = "abort"
opt-level = 3