osproxy-tenancy 1.0.0

High-level tenancy SPI; implements the low-level RoutingSpi from tenancy rules.
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 = "2021"
rust-version = "1.94"
name = "osproxy-tenancy"
version = "1.0.0"
authors = ["Huy Nguyen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level tenancy SPI; implements the low-level RoutingSpi from tenancy rules."
readme = false
license = "Apache-2.0"
repository = "https://github.com/huyz0/opensearch-proxy"

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

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

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

[dependencies.osproxy-core]
version = "1.0.0"

[dependencies.osproxy-rewrite]
version = "1.0.0"

[dependencies.osproxy-spi]
version = "1.0.0"

[dependencies.serde_json]
version = "1"
features = ["raw_value"]

[dependencies.thiserror]
version = "2"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt",
]
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"