cc-lb-runtime-wasmtime 0.1.0

Wasmtime-based plugin runtime for cc-lb. Host-side wasm plugin admission + dispatch.
# 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"
rust-version = "1.96.0"
name = "cc-lb-runtime-wasmtime"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wasmtime-based plugin runtime for cc-lb. Host-side wasm plugin admission + dispatch."
readme = "README.md"
keywords = [
    "cc-lb",
    "plugin",
    "wasm",
    "wasmtime",
    "runtime",
]
categories = [
    "wasm",
    "web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/isac322/cc-lb"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1"

[dependencies.arc-swap]
version = "1"

[dependencies.blake3]
version = "1"
features = ["std"]
default-features = false

[dependencies.bytes]
version = "1"

[dependencies.cc-lb-plugin-api]
version = "0.4"

[dependencies.cc-lb-plugin-wire]
version = "0.2"
features = ["std"]

[dependencies.http]
version = "1"

[dependencies.metrics]
version = "0.24"

[dependencies.parking_lot]
version = "0.12"

[dependencies.rkyv]
version = "0.8"
features = [
    "std",
    "bytecheck",
]
default-features = false

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dependencies.wasmparser]
version = "0.252"

[dependencies.wasmtime]
version = "46"

[dev-dependencies.metrics-exporter-prometheus]
version = "0.18"
features = ["http-listener"]
default-features = false

[dev-dependencies.wat]
version = "1"