# 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"
rust-version = "1.90.0"
name = "slumber_core"
version = "5.3.0"
authors = ["Lucas Pickering <lucas@lucaspickering.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for Slumber. Not intended for external use."
homepage = "https://slumber.lucaspickering.me"
readme = false
keywords = [
    "rest",
    "http",
    "terminal",
    "tui",
]
license = "MIT"
repository = "https://github.com/LucasPickering/slumber"

[package.metadata.release]
tag = false

[features]
schema = [
    "dep:schemars",
    "slumber_template/schema",
    "test",
]
test = [
    "dep:rstest",
    "slumber_template/test",
    "slumber_util/test",
]

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

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

[dependencies.base64]
version = "0.22.1"

[dependencies.bytes]
version = "1.6.1"
features = ["serde"]
default-features = false

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

[dependencies.derive_more]
version = "2.1.0"
features = [
    "debug",
    "deref",
    "deref_mut",
    "display",
    "from",
    "from_str",
    "into",
    "std",
]
default-features = false

[dependencies.dialoguer]
version = "0.12.0"
default-features = false

[dependencies.futures]
version = "0.3.28"

[dependencies.indexmap]
version = "2.0.0"
features = ["serde"]
default-features = false

[dependencies.itertools]
version = "0.14.0"

[dependencies.jaq-core]
version = "2.2.1"

[dependencies.jaq-json]
version = "1.1.3"
features = ["serde_json"]
default-features = false

[dependencies.jaq-std]
version = "2.1.2"

[dependencies.mime]
version = "0.3.17"

[dependencies.regex]
version = "1.10.5"
default-features = false

[dependencies.reqwest]
version = "0.13.1"
features = [
    "json",
    "form",
    "multipart",
    "query",
    "rustls",
    "stream",
]
default-features = false

[dependencies.rstest]
version = "0.26.0"
optional = true
default-features = false

[dependencies.rusqlite]
version = "0.38.0"
features = [
    "bundled",
    "chrono",
    "uuid",
]
default-features = false

[dependencies.rusqlite_migration]
version = "2.4.0"

[dependencies.saphyr]
version = "0.0.6"

[dependencies.schemars]
version = "1.0.2"
features = ["indexmap2"]
optional = true

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

[dependencies.serde_json]
version = "1.0.120"
features = ["preserve_order"]
default-features = false

[dependencies.serde_json_path]
version = "0.7.1"

[dependencies.serde_yaml]
version = "0.9.0"
default-features = false

[dependencies.slumber_config]
version = "5.3.0"
default-features = false

[dependencies.slumber_macros]
version = "5.3.0"

[dependencies.slumber_template]
version = "5.3.0"

[dependencies.slumber_util]
version = "5.3.0"

[dependencies.strum]
version = "0.27.0"
features = ["derive"]
default-features = false

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.39.2"
features = [
    "fs",
    "process",
]
default-features = false

[dependencies.tokio-util]
version = "0.7.13"
features = ["io"]

[dependencies.tracing]
version = "0.1.40"

[dependencies.url]
version = "2.0.0"
features = ["serde"]

[dependencies.uuid]
version = "1.10.0"
features = [
    "serde",
    "v4",
]
default-features = false

[dependencies.winnow]
version = "0.7.0"

[dev-dependencies.env-lock]
version = "1.0.1"

[dev-dependencies.pretty_assertions]
version = "1.4.0"

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

[dev-dependencies.proptest-derive]
version = "0.7.0"

[dev-dependencies.rstest]
version = "0.26.0"
default-features = false

[dev-dependencies.serde_test]
version = "1.0.176"

[dev-dependencies.slumber_template]
version = "5.3.0"
features = ["test"]

[dev-dependencies.slumber_util]
version = "5.3.0"
features = ["test"]

[dev-dependencies.wiremock]
version = "0.6.1"
default-features = false

[lints.clippy]
allow_attributes = "deny"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "warn"
default_trait_access = "allow"
doc_markdown = "allow"
explicit_deref_methods = "allow"
large_enum_variant = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_inception = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
similar_names = "allow"
single_match = "allow"
too_many_lines = "allow"
unused_self = "allow"
used_underscore_binding = "allow"

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

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

[lints.rust]
async_fn_in_trait = "allow"
unsafe_code = "forbid"
