opensearch-client 0.3.2

Strongly typed OpenSearch Client
Documentation
# 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 = "opensearch-client"
version = "0.3.2"
authors = ["Alberto Paro"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Strongly typed OpenSearch Client"
documentation = "https://docs.rs/opensearch-client/0.3.2/opensearch_client/"
readme = "README.md"
keywords = ["opensearch"]
license = "Apache-2.0"
repository = "https://github.com/aparo/opensearch-client-rs"
resolver = "2"

[features]
asynchronous_search = []
bon = ["dep:bon"]
cat = []
cluster = []
dangling_indices = []
default = [
    "bon",
    "search",
    "indices",
    "ingest",
    "cluster",
    "ml",
]
full = [
    "search",
    "asynchronous_search",
    "cat",
    "cluster",
    "dangling_indices",
    "indices",
    "ingest",
    "insights",
    "ism",
    "knn",
    "ml",
    "nodes",
    "notifications",
    "observability",
    "ppl",
    "remote_store",
    "replication",
    "rollups",
    "security",
    "snapshot",
    "sql",
    "tasks",
    "transforms",
    "tools",
]
indices = ["search"]
ingest = []
insights = []
ism = []
knn = []
loco = [
    "dep:loco-rs",
    "dep:axum",
]
ml = []
nodes = []
notifications = []
observability = []
ppl = []
quickwit = []
remote_store = []
replication = []
rollups = []
search = [
    "dep:opensearch-dsl",
    "dep:futures",
]
security = []
snapshot = []
sql = []
tasks = []
tools = [
    "indices",
    "ingest",
    "dep:walkdir",
    "ml",
    "dep:futures",
]
transforms = []

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

[dependencies.anyhow]
version = "1.0.103"

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

[dependencies.axum]
version = "0.8"
optional = true
default-features = false

[dependencies.base64]
version = "0.22.1"

[dependencies.bon]
version = "3.9.3"
optional = true

[dependencies.futures]
version = "0.3.32"
optional = true

[dependencies.http]
version = "1.4.2"

[dependencies.loco-rs]
version = "0.16"
optional = true
default-features = false

[dependencies.opensearch-dsl]
version = "0.3.2"
optional = true

[dependencies.opensearch-macro]
version = "0.3.2"

[dependencies.reqwest]
version = "^0.13"
features = [
    "json",
    "multipart",
]

[dependencies.reqwest-middleware]
version = "^0.5"
features = [
    "json",
    "multipart",
    "query",
]

[dependencies.reqwest-retry]
version = "0.9.1"

[dependencies.reqwest-tracing]
version = "0.7.1"

[dependencies.serde]
version = "^1.0"
features = [
    "derive",
    "std",
]

[dependencies.serde_json]
version = "^1.0"

[dependencies.serde_repr]
version = "^0.1"

[dependencies.serde_with]
version = "^3.21"
features = [
    "base64",
    "std",
    "macros",
]
default-features = false

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "rt-multi-thread",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.url]
version = "^2.5"

[dependencies.walkdir]
version = "2.5.0"
optional = true

[dev-dependencies.opensearch-testcontainer]
version = "0.3.2"

[dev-dependencies.testcontainers]
version = "0.27.3"

[dev-dependencies.tracing-test]
version = "0.2.6"