endpoint-libs 2.1.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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM rust:1.95 AS builder
WORKDIR /app

# Cache dependency compilation
COPY Cargo.toml Cargo.lock ./
COPY src ./src
RUN cargo build --release --example ws_echo_server --features ws,s3-sync 2>&1 | tail -1

# Build the ws_echo_server example
COPY examples ./examples
RUN cargo build --release --example ws_echo_server --features ws,s3-sync

FROM debian:trixie-slim
COPY --from=builder /app/target/release/examples/ws_echo_server /app/ws_echo_server
EXPOSE 443
CMD ["/app/ws_echo_server"]