hf 0.6.0

Cross-platform hidden file library and utility
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85.0"
name = "hf"
version = "0.6.0"
build = false
include = [
    "/LICENSES",
    "/README.md",
    "/src",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform hidden file library and utility"
homepage = "https://sorairolake.github.io/hf/"
documentation = "https://docs.rs/hf"
readme = "README.md"
keywords = ["hidden"]
categories = [
    "command-line-utilities",
    "filesystem",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/sorairolake/hf"

[features]
application = [
    "dep:anyhow",
    "dep:clap",
    "dep:clap_complete",
    "dep:clap_complete_nushell",
    "dep:log",
    "dep:simplelog",
    "dep:sysexits",
]
default = ["application"]

[lib]
name = "hf"
path = "src/lib.rs"

[[bin]]
name = "hf"
path = "src/bin/hf/main.rs"
required-features = ["application"]

[dependencies.anyhow]
version = "1.0.100"
optional = true

[dependencies.clap]
version = "4.5.54"
features = [
    "derive",
    "wrap_help",
]
optional = true

[dependencies.clap_complete]
version = "4.5.65"
optional = true

[dependencies.clap_complete_nushell]
version = "4.5.10"
optional = true

[dependencies.log]
version = "0.4.29"
optional = true

[dependencies.simplelog]
version = "0.12.2"
optional = true

[dependencies.sysexits]
version = "0.11.0"
optional = true

[dev-dependencies.anyhow]
version = "1.0.100"

[dev-dependencies.assert_cmd]
version = "2.1.2"

[dev-dependencies.clap]
version = "4.5.54"
features = ["derive"]

[dev-dependencies.predicates]
version = "3.1.3"

[dev-dependencies.tempfile]
version = "3.24.0"

[target."cfg(windows)".dependencies.windows]
version = "0.62.2"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
]

[lints.clippy]
multiple_crate_versions = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "deny"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

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