[package]
edition = "2021"
rust-version = "1.94"
name = "osproxy-engine"
version = "1.0.2"
authors = ["Huy Nguyen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pipeline orchestration: auth -> resolve -> rewrite -> sink -> reverse."
readme = false
license = "Apache-2.0"
repository = "https://github.com/huyz0/opensearch-proxy"
[lib]
name = "osproxy_engine"
path = "src/lib.rs"
[[test]]
name = "admin_passthrough"
path = "tests/admin_passthrough.rs"
[[test]]
name = "backend_retry"
path = "tests/backend_retry.rs"
[[test]]
name = "blind_diagnosis"
path = "tests/blind_diagnosis.rs"
[[test]]
name = "bulk"
path = "tests/bulk.rs"
[[test]]
name = "bulk_gate"
path = "tests/bulk_gate.rs"
[[test]]
name = "cursor_affinity"
path = "tests/cursor_affinity.rs"
[[test]]
name = "custom_router"
path = "tests/custom_router.rs"
[[test]]
name = "fault_injection"
path = "tests/fault_injection.rs"
[[test]]
name = "memory"
path = "tests/memory.rs"
[[test]]
name = "mget"
path = "tests/mget.rs"
[[test]]
name = "migration_gate"
path = "tests/migration_gate.rs"
[[test]]
name = "msearch"
path = "tests/msearch.rs"
[[test]]
name = "otlp_export"
path = "tests/otlp_export.rs"
[[test]]
name = "read_path"
path = "tests/read_path.rs"
[[test]]
name = "round_trip"
path = "tests/round_trip.rs"
[[test]]
name = "write_path"
path = "tests/write_path.rs"
[[bench]]
name = "search_transform"
path = "benches/search_transform.rs"
harness = false
[dependencies.bytes]
version = "1"
[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.http-body]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.osproxy-control]
version = "1.0.2"
[dependencies.osproxy-core]
version = "1.0.2"
[dependencies.osproxy-observe]
version = "1.0.2"
[dependencies.osproxy-rewrite]
version = "1.0.2"
[dependencies.osproxy-sink]
version = "1.0.2"
[dependencies.osproxy-spi]
version = "1.0.2"
[dependencies.osproxy-tenancy]
version = "1.0.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = ["raw_value"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt",
"time",
]
default-features = false
[dev-dependencies.dhat]
version = "0.3"
[dev-dependencies.divan]
version = "0.1"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"time",
]
default-features = false
[lints.clippy]
cognitive_complexity = "warn"
expect_used = "deny"
module_name_repetitions = "allow"
panic = "deny"
todo = "deny"
too_many_arguments = "warn"
too_many_lines = "warn"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"