xds-server 0.1.0

gRPC server implementation for xDS control plane
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.75"
name = "xds-server"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gRPC server implementation for xDS control plane"
readme = false
keywords = [
    "xds",
    "envoy",
    "grpc",
    "server",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/nebucloud/nebucloud-xds"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = [
    "reflection",
    "metrics",
]
metrics = ["dep:metrics-exporter-prometheus"]
reflection = ["dep:tonic-reflection"]
tls = ["tonic/tls"]

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

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

[dependencies.futures]
version = "0.3"

[dependencies.http]
version = "1.1"

[dependencies.metrics]
version = "0.23"

[dependencies.metrics-exporter-prometheus]
version = "0.15"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.prost]
version = "0.13"

[dependencies.prost-types]
version = "0.13"

[dependencies.tokio]
version = "1.41"
features = [
    "full",
    "sync",
    "signal",
    "time",
    "rt-multi-thread",
]

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tonic]
version = "0.12"

[dependencies.tonic-health]
version = "0.12"

[dependencies.tonic-reflection]
version = "0.12"
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.xds-cache]
version = "0.1.0"

[dependencies.xds-core]
version = "0.1.0"

[dependencies.xds-types]
version = "0.1.0"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.rstest]
version = "0.23"

[dev-dependencies.tokio-test]
version = "0.4"

[lints.clippy]
expect_used = "warn"
panic = "warn"
unwrap_used = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"