esh-core 0.1.0

Core traits, typed loader, masking, and resolution for Env-Secret-Hydrator
# 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"
rust-version = "1.75"
name = "esh-core"
version = "0.1.0"
authors = ["praburaj0605 <reachpraburaj@gmail.com>"]
build = false
include = [
    "src/**/*",
    "Cargo.toml",
    "README.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core traits, typed loader, masking, and resolution for Env-Secret-Hydrator"
homepage = "https://github.com/praburaj0605/rEnv_Secret_Hydrator"
documentation = "https://docs.rs/esh-core"
readme = "README.md"
keywords = [
    "secrets",
    "config",
    "aws",
    "vault",
    "kubernetes",
]
categories = [
    "config",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/praburaj0605/rEnv_Secret_Hydrator"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["json"]
json = []
toml = ["dep:toml"]
yaml = ["dep:serde_yaml"]

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

[dependencies.arc-swap]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "std",
    "serde",
]
default-features = false

[dependencies.futures]
version = "0.3"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.8"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "time",
    "macros",
    "fs",
]

[dependencies.toml]
version = "0.8"
optional = true

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.parking_lot]
version = "0.12"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serde]
version = "1"
features = [
    "derive",
    "derive",
]

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "time",
    "macros",
    "fs",
    "rt-multi-thread",
    "macros",
    "time",
]

[lints.clippy]
cast_possible_truncation = "allow"
let_and_return = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
struct_excessive_bools = "allow"

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

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"