# 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 = "gsm-testutil"
version = "0.4.24"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared test utilities and harness helpers for Greentic messaging adapters"
readme = false
license = "MIT"
resolver = "2"

[features]
default = []
e2e = [
    "reqwest",
    "tokio",
    "secrets-core",
    "gsm-core",
]
visual = [
    "image",
    "uuid",
]

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.dotenvy]
version = "0.15"

[dependencies.gsm-core]
version = "0.4"
optional = true

[dependencies.image]
version = "0.25"
features = [
    "png",
    "jpeg",
]
optional = true
default-features = false

[dependencies.jsonschema]
version = "0.38"

[dependencies.once_cell]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.secrets-core]
version = "0.4"
optional = true
package = "greentic-secrets-core"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml_bw]
version = "2.4.1"

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

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]
optional = true
