# 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 = "camel-xj"
version = "0.15.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "XJ (XML <-> JSON) Data Format for Rust Camel (via xml-bridge)"
readme = "README.md"
license = "Apache-2.0"
resolver = "2"

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

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

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

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

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

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

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

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

[dependencies.camel-api]
version = "=0.15.0"

[dependencies.camel-bridge]
version = "=0.15.0"

[dependencies.camel-component-api]
version = "=0.15.0"

[dependencies.camel-xslt]
version = "=0.15.0"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "sync",
    "rt",
    "time",
]

[dependencies.tonic]
version = "0.14"

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dev-dependencies.camel-component-api]
version = "=0.15.0"
features = ["test-support"]

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

[dev-dependencies.tonic]
version = "0.14"

[lints.clippy]
all = "warn"

[lints.rust]
dead_code = "warn"
unused_imports = "warn"
unused_must_use = "warn"
