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