hm-config 0.0.8

Layered (project/user/env) configuration + credential storage for the hm CLI.
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"
name = "hm-config"
version = "0.0.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Layered (project/user/env) configuration + credential storage for the hm CLI."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/harmont-dev/harmont-cli"
resolver = "2"

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

[dependencies.anyhow]
version = "1"

[dependencies.derive_more]
version = "1"
features = ["full"]
default-features = false

[dependencies.figment]
version = "0.10"
features = [
    "toml",
    "env",
]

[dependencies.hm-util]
version = "0.0.8"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.toml]
version = "0.8"

[dev-dependencies.figment]
version = "0.10"
features = [
    "toml",
    "env",
    "test",
]

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

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[lints.clippy]
cargo_common_metadata = "allow"
dbg_macro = "deny"
exit = "warn"
expect_used = "warn"
implicit_clone = "deny"
lossy_float_literal = "deny"
mem_forget = "deny"
multiple_crate_versions = "allow"
panic = "warn"
print_stderr = "deny"
print_stdout = "deny"
redundant_pub_crate = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "warn"

[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"
unreachable_pub = "deny"
unsafe_code = "deny"
unused_must_use = "deny"

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

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