errlanes 0.18.1

Four error lanes (Rejected/Denied/Transient/Fatal) carried in the type, not re-derived at every layer
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 = "errlanes"
version = "0.18.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Four error lanes (Rejected/Denied/Transient/Fatal) carried in the type, not re-derived at every layer"
documentation = "https://docs.rs/errlanes"
readme = "README.md"
categories = ["data-structures"]
license = "Apache-2.0"
repository = "https://github.com/GaloyMoney/es-entity"
resolver = "2"

[features]
classify-reqwest = ["dep:reqwest"]
classify-serde-json = ["dep:serde_json"]
classify-sqlx = ["dep:sqlx"]
default = ["derive"]
derive = ["dep:errlanes-derive"]
tracing = ["dep:tracing"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.errlanes-derive]
version = "0.18.1"
optional = true

[dependencies.reqwest]
version = "0.13"
optional = true
default-features = false

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.sqlx]
version = "0.8"
features = [
    "macros",
    "runtime-tokio-rustls",
    "postgres",
    "uuid",
    "chrono",
    "json",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1.41"
features = ["attributes"]
optional = true
default-features = false

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

[dev-dependencies.thiserror]
version = "2"

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

[dev-dependencies.tracing]
version = "0.1.41"
features = ["std"]
default-features = false

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

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

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

[lints.clippy]
too_many_arguments = "allow"