# 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 = "revolt-config"
version = "0.9.4"
authors = ["Paul Makles <me@insrt.uk>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Revolt Backend: Configuration"
readme = false
license = "MIT"
repository = "https://github.com/stoatchat/stoatchat"

[features]
anyhow = ["dep:sentry-anyhow"]
default = [
    "test",
    "sentry",
]
report-macros = ["revolt-result"]
sentry = ["dep:sentry"]
test = ["async-std"]

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

[dependencies.async-std]
version = "1.8.0"
features = ["attributes"]
optional = true

[dependencies.cached]
version = "0.44.0"

[dependencies.config]
version = "0.13.3"

[dependencies.futures-locks]
version = "0.7.1"

[dependencies.log]
version = "0.4.14"

[dependencies.once_cell]
version = "1.18.0"

[dependencies.pretty_env_logger]
version = "0.4.0"

[dependencies.revolt-result]
version = "0.9.4"
optional = true

[dependencies.sentry]
version = "0.31.5"
optional = true

[dependencies.sentry-anyhow]
version = "0.38.1"
optional = true

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