rivet-envoy-client 2.3.21

Envoy client transport for Rivet actor hosts
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 = "rivet-envoy-client"
version = "2.3.21"
authors = ["Rivet Gaming, LLC <developer@rivet.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Envoy client transport for Rivet actor hosts"
homepage = "https://rivet.dev"
readme = false
license = "Apache-2.0"
repository = "https://github.com/rivet-dev/rivet"
resolver = "2"

[features]
default = ["native-transport"]
native-transport = [
    "dep:rustls",
    "dep:tokio-tungstenite",
]
wasm-transport = [
    "dep:js-sys",
    "dep:wasm-bindgen",
    "dep:wasm-bindgen-futures",
    "dep:web-sys",
]

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

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

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

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

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

[dependencies.anyhow]
version = "1.0.82"

[dependencies.futures-util]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.rand]
version = "0.8"

[dependencies.rivet-envoy-protocol]
version = "=2.3.21"

[dependencies.rivet-metrics]
version = "=2.3.21"

[dependencies.rivet-util-serde]
version = "=2.3.21"

[dependencies.rustls]
version = "0.23.25"
features = [
    "ring",
    "std",
    "logging",
]
optional = true
default-features = false

[dependencies.scc]
version = "3.6.12"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_bare]
version = "0.5.0"

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

[dependencies.tokio-tungstenite]
version = "0.26.0"
features = [
    "rustls-tls-native-roots",
    "rustls-tls-webpki-roots",
]
optional = true

[dependencies.tracing]
version = "0.1.40"

[dependencies.urlencoding]
version = "2.1"

[dependencies.vbare]
version = "0.0.5"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true

[dependencies.web-sys]
version = "0.3"
features = [
    "BinaryType",
    "CloseEvent",
    "ErrorEvent",
    "Event",
    "MessageEvent",
    "WebSocket",
]
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.44.0"
features = [
    "full",
    "tracing",
]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid]
version = "1.11.0"
features = [
    "v4",
    "serde",
]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "ansi",
    "fmt",
    "json",
    "env-filter",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1.44.0"
features = [
    "macros",
    "rt",
    "sync",
    "time",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1.11.0"
features = [
    "v4",
    "serde",
    "js",
]

[target.'cfg(target_arch = "wasm32")'.dependencies.web-time]
version = "1.1"