# 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.96"
name = "faucet-source-xml"
version = "1.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "XML API source connector for the faucet-stream ecosystem"
readme = "README.md"
keywords = [
    "xml",
    "soap",
    "etl",
    "pipeline",
    "connector",
]
categories = [
    "database",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/PawanSikawat/faucet-stream"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

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

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

[dependencies.async-stream]
version = "0.3"

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

[dependencies.faucet-core]
version = "1.3.0"

[dependencies.futures]
version = "0.3"

[dependencies.quick-xml]
version = "0.37"
features = ["serialize"]

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "form",
    "query",
]

[dependencies.schemars]
version = "1.2.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1"
features = ["time"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.futures]
version = "0.3"

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

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

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

[dev-dependencies.wiremock]
version = "0.6"
