[package]
edition = "2024"
name = "fxkit"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Useful utilities for writting Rust CLI tools"
documentation = "https://docs.rs/fxkit/"
readme = "README.md"
license = "MIT"
repository = "https://gitlab.com/alxhr0/fxkit"
[features]
all = [
"unix",
"windows",
"fs",
"tools",
"spinners",
]
bedrock = [
"unix",
"tools",
]
fs = []
spinners = ["dep:spinners"]
tools = ["dep:which"]
unix = [
"dep:nix",
"dep:regex",
"dep:colored",
]
windows = ["dep:windows"]
[lib]
name = "fxkit"
crate-type = [
"staticlib",
"cdylib",
"rlib",
]
path = "src/lib.rs"
[dependencies.colored]
version = "3.1.1"
optional = true
[dependencies.regex]
version = "1.12.2"
optional = true
[dependencies.spinners]
version = "4.1.1"
optional = true
[dependencies.which]
version = "8.0.0"
optional = true
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62.2"
features = [
"Win32_Foundation",
"Win32_System_Diagnostics_ToolHelp",
]
optional = true
[target."cfg(unix)".dependencies.nix]
version = "0.31.1"
optional = true