# 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-component-opensearch"
version = "0.16.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OpenSearch component for rust-camel"
homepage = "https://github.com/kennycallado/rust-camel"
documentation = "https://docs.rs/camel-component-opensearch"
readme = "README.md"
keywords = [
    "camel",
    "opensearch",
    "integration",
    "messaging",
    "search",
]
categories = [
    "database",
    "asynchronous",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/kennycallado/rust-camel"
resolver = "2"

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

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

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

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

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

[dependencies.opensearch]
version = "2.4.0"
features = ["rustls-tls"]
default-features = false

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

[dependencies.serde_json]
version = "1"

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

[dependencies.toml]
version = "1"

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

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "full",
    "test-util",
]

[lints.clippy]
all = "warn"

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