premortem 0.6.1

A configuration library that performs a premortem on your app's config—finding all the ways it would die before it ever runs
Documentation
[[bench]]
harness = false
name = "env_validation"
path = "benches/env_validation.rs"

[dependencies.notify]
optional = true
version = "6.1"

[dependencies.premortem-derive]
optional = true
version = "0.3.0"

[dependencies.regex]
version = "1.10"

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

[dependencies.serde_json]
version = "1.0"

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

[dependencies.stillwater]
version = "0.13.0"

[dependencies.thiserror]
version = "1.0"

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

[dependencies.toml_edit]
optional = true
version = "0.23"

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.premortem-derive]
version = "0.3.0"

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

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

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

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.tracing]
version = "0.1"

[dev-dependencies.tracing-subscriber]
version = "0.3"

[[example]]
name = "basic"
path = "examples/basic/main.rs"

[[example]]
name = "env-validation"
path = "examples/env-validation/main.rs"

[[example]]
name = "error-demo"
path = "examples/error-demo/main.rs"

[[example]]
name = "layered"
path = "examples/layered/main.rs"

[[example]]
name = "layered-config"
path = "examples/layered-config/main.rs"

[[example]]
name = "predicates"
path = "examples/predicates/main.rs"

[[example]]
name = "testing"
path = "examples/testing/main.rs"

[[example]]
name = "tracing"
path = "examples/tracing/main.rs"

[[example]]
name = "validation"
path = "examples/validation/main.rs"

[[example]]
name = "watch"
path = "examples/watch/main.rs"
required-features = ["watch"]

[[example]]
name = "web-server"
path = "examples/web-server/main.rs"

[[example]]
name = "yaml"
path = "examples/yaml/main.rs"
required-features = ["yaml"]

[features]
default = ["toml", "derive"]
derive = ["premortem-derive"]
full = ["toml", "json", "yaml", "watch", "remote", "derive"]
json = []
remote = []
toml = ["dep:toml", "dep:toml_edit"]
watch = ["dep:notify"]
yaml = ["dep:serde_yaml"]

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

[package]
authors = ["Glen Baker <iepathos@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["config", "rust-patterns"]
description = "A configuration library that performs a premortem on your app's config—finding all the ways it would die before it ever runs"
edition = "2021"
keywords = ["configuration", "validation", "config", "settings", "premortem"]
license = "MIT"
name = "premortem"
readme = "README.md"
repository = "https://github.com/iepathos/premortem"
version = "0.6.1"

[[test]]
name = "derive_tests"
path = "tests/derive_tests.rs"

[[test]]
name = "env_required_integration"
path = "tests/env_required_integration.rs"

[[test]]
name = "property_tests"
path = "tests/property_tests.rs"