# 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 = "2021"
name = "anda-config"
version = "0.7.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Configuration module for Andaman"
readme = "README.md"
license = "MIT"
repository = "https://github.com/FyraLabs/anda"

[lib]
name = "anda_config"
path = "lib.rs"

[dependencies.dotenv]
version = "0.15.0"

[dependencies.hcl-rs]
version = "0.19.7"

[dependencies.ignore]
version = "0.4.26"

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.serde]
version = "1.0"
features = ["derive"]
default-features = false

[dependencies.serde_with]
version = "3.21.0"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.env_logger]
version = ">= 0.10, < 0.12"

[lints.clippy]
arithmetic_side_effects = "warn"
assertions_on_result_states = "warn"
clone_on_ref_ptr = "warn"
create_dir = "warn"
disallowed-macros = "deny"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
excessive-nesting = "warn"
field_scoped_visibility_modifiers = "deny"
format_push_string = "warn"
get_unwrap = "warn"
if_then_some_else_none = "warn"
impl_trait_in_params = "warn"
indexing_slicing = "warn"
infinite_loop = "deny"
let_underscore_must_use = "deny"
let_underscore_untyped = "warn"
multiple_inherent_impl = "warn"
needless_raw_strings = "warn"
rc_buffer = "warn"
rc_mutex = "deny"
redundant_type_annotations = "warn"
renamed_function_params = "warn"
rest_pat_in_fully_bound_structs = "warn"
semicolon_outside_block = "warn"
str_to_string = "warn"
string_lit_chars_any = "warn"
string_to_string = "warn"
tests_outside_test_module = "warn"
todo = "warn"
try_err = "warn"
undocumented_unsafe_blocks = "deny"
unimplemented = "warn"
unneeded_field_pattern = "warn"
unwrap_in_result = "warn"

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

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

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

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

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