cmdlore 0.4.0

A command library that lives in your shell
Documentation
[package]
name = "cmdlore"
version = "0.4.0"
edition = "2024"
rust-version = "1.88"
description = "A command library that lives in your shell"
authors = ["Alp Çakın <alpcakin16@gmail.com>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/alpcakin/lore"
homepage = "https://github.com/alpcakin/lore"
documentation = "https://docs.rs/cmdlore"
readme = "README.md"
keywords = ["cli", "shell", "tui", "history", "productivity"]
categories = ["command-line-utilities", "development-tools"]
# The gif is half a megabyte nobody installing from crates.io needs. crates.io
# rewrites the README's relative image link to the repository, so it still shows.
exclude = ["/.github", "/docs/demo.gif", "/docs/demo.tape", "/packaging"]

# The crate is published as `cmdlore` because `lore` and `lore-cli` are both
# taken. Everything a user ever types stays `lore`.
[lib]
name = "lore"

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

[dependencies]
anyhow = "1.0.104"
clap = { version = "4.6.6", features = ["derive"] }
crossterm = "0.29.0"
directories = "6.0.0"
globset = "0.4.20"
ratatui = "0.30.2"
rusqlite = { version = "0.40.2", features = ["bundled"] }
serde = { version = "1.0.229", features = ["derive"] }
serde_yaml_ng = "0.10.0"
thiserror = "2.0.20"

# Only to find the controlling terminal when stdin is not one; see console.rs.
[target.'cfg(target_os = "macos")'.dependencies]
libc = "0.2.189"

[profile.release]
lto = true
codegen-units = 1
strip = true