navi/Cargo.toml
Ulrich Kautz 63e31baa74 Add build feature to disable command execution
This CL adds the build feature `disable-command-execution` that enforces the `--print` flag and thereby disables execution of commands.
2022-01-27 13:31:31 +00:00

43 lines
1.1 KiB
TOML

[package]
name = "navi"
version = "2.19.0"
authors = ["Denis Isidoro <denis_isidoro@live.com>"]
edition = "2021"
description = "An interactive cheatsheet tool for the command-line"
homepage = "https://github.com/denisidoro/navi"
documentation = "https://github.com/denisidoro/navi"
repository = "https://github.com/denisidoro/navi"
keywords = ["cheatsheets", "terminal", "cli", "tui", "shell"]
categories = ["command-line-utilities"]
license = "Apache-2.0"
[features]
disable-command-execution = []
[badges]
travis-ci = { repository = "denisidoro/navi", branch = "master" }
[dependencies]
regex = { version = "1.5.4", default-features = false, features = ["std", "unicode-perl"] }
clap = { version = "3.0.6", features = ["derive", "cargo"] }
crossterm = "0.22.1"
lazy_static = "1.4.0"
directories-next = "2.0.0"
walkdir = "2.3.1"
shellwords = "1.1.0"
anyhow = "1.0.53"
thiserror = "1.0.30"
strip-ansi-escapes = "0.1.1"
edit = "0.1.3"
remove_dir_all = "0.7.0"
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.8"
[lib]
name = "navi"
path = "src/lib.rs"
[[bin]]
name = "navi"
path = "src/bin/main.rs"
bench = false