endpoint-libs 3.4.3

Launch MCP services fast: describe endpoints once in RON, and endpoint-gen generates the Rust models, docs and MCP tool schemas that this crate serves over WebSocket RPC, with roles and typed errors built in.
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 = "endpoint-libs"
version = "3.4.3"
authors = ["Veon <dveonloch@protonmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Launch MCP services fast: describe endpoints once in RON, and endpoint-gen generates the Rust models, docs and MCP tool schemas that this crate serves over WebSocket RPC, with roles and typed errors built in."
homepage = "https://github.com/pathscale/endpoint-libs"
documentation = "https://docs.rs/endpoint-libs"
readme = "README.md"
keywords = [
    "websocket",
    "rpc",
    "mcp",
    "openapi",
    "codegen",
]
categories = [
    "web-programming::websocket",
    "network-programming",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/pathscale/endpoint-libs"

[package.metadata.cargo-all-features]
always_include_features = ["types"]
denylist = [
    "full",
    "log_throttling",
]
max_combination_size = 3

[features]
agent-control = ["framed-transport"]
default = ["types"]
error_aggregation = [
    "dep:nagoya",
    "dep:regex",
    "dep:lazy_static",
]
framed-transport = ["wire-core"]
full = [
    "types",
    "ws",
    "signal",
    "scheduler",
    "log_reader",
    "error_aggregation",
    "log_throttling",
    "ws-http1",
    "ws-tls12",
]
log_reader = [
    "dep:tempfile",
    "dep:regex",
    "dep:rev_lines",
    "dep:nagoya",
    "dep:lazy_static",
    "dep:tracing",
    "dep:chrono",
]
log_throttling = [
    "dep:tracing-throttle",
    "dep:nagoya",
]
nagoya-transport = [
    "framed-transport",
    "dep:nagoya",
]
scheduler = ["dep:nagoya"]
signal = [
    "dep:nagoya",
    "dep:tracing",
]
types = [
    "dep:serde",
    "dep:serde_json",
    "dep:derive_more",
    "dep:convert_case",
    "dep:itertools",
    "dep:clap",
    "dep:tracing",
    "dep:tracing-subscriber",
    "dep:chrono",
    "dep:urlencoding",
    "dep:hex",
    "dep:tracing-appender",
    "dep:serde_path_to_error",
    "dep:alloy-primitives",
]
wire-core = [
    "dep:async-trait",
    "dep:serde",
    "dep:serde_json",
]
ws = [
    "ws-core",
    "dep:nago-wss",
]
ws-client = [
    "ws-core",
    "dep:nago-wss",
]
ws-client-tls = [
    "ws-client",
    "nago-wss/tls",
    "nago-wss/webpki-roots",
]
ws-core = [
    "wire-core",
    "types",
    "signal",
    "dep:parking_lot",
    "dep:dashmap",
    "dep:async-trait",
    "dep:nagoya",
]
ws-http1 = ["ws"]
ws-tls12 = ["ws"]

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

[[example]]
name = "config-log-acceptance"
path = "examples/config-log-acceptance.rs"
required-features = ["types"]

[[example]]
name = "ws_echo_server"
path = "examples/ws-echo/main.rs"
required-features = ["ws"]

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

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

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

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

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

[dependencies.alloy-primitives]
version = "1.3.0"
features = ["std"]
optional = true
default-features = false

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

[dependencies.bytes]
version = "1.7"

[dependencies.chrono]
version = "0.4.44"
features = [
    "oldtime",
    "std",
    "now",
]
optional = true
default-features = false

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]
optional = true

[dependencies.convert_case]
version = "0.6"
optional = true

[dependencies.dashmap]
version = "6.0"
optional = true

[dependencies.derive_more]
version = "2.1.1"
features = ["display"]
optional = true

[dependencies.eyre]
version = "0.6"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"
optional = true

[dependencies.itertools]
version = "0.12"
optional = true

[dependencies.lazy_static]
version = "1.5"
optional = true

[dependencies.nago-wss]
version = "^0.3"
features = [
    "reactor",
    "simd-utf8",
]
optional = true
default-features = false

[dependencies.nagoya]
version = "^0.1.16"
features = ["reactor"]
optional = true
default-features = false

[dependencies.parking_lot]
version = "^0.12"
optional = true
default-features = false
package = "parking_lot_lite_hack"

[dependencies.regex]
version = "1.5"
optional = true

[dependencies.rev_lines]
version = "0.3"
optional = true

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

[dependencies.serde_json]
version = "1.0"
features = ["raw_value"]
optional = true

[dependencies.serde_path_to_error]
version = "0.1"
optional = true

[dependencies.tempfile]
version = "3.19"
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.tracing-appender]
version = "0.2"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "std",
    "fmt",
]
optional = true

[dependencies.tracing-throttle]
version = "0.4"
features = ["human-readable"]
optional = true
default-features = false

[dependencies.urlencoding]
version = "2.1"
optional = true

[dev-dependencies.rcgen]
version = "0.14"

[dev-dependencies.tempfile]
version = "3.19"

[dev-dependencies.tracing-throttle]
version = "0.4"
features = [
    "human-readable",
    "test-helpers",
]
default-features = false

[dev-dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]