oxide-gen 0.3.0

Spec-to-crate generator for Rust Oxide. Generates Rust clients, CLI commands, SKILL.md, and MCP server configs from OpenAPI, GraphQL, and gRPC specs.
Documentation
syntax = "proto3";

package demo;

// A trivial echo service used as an oxide-gen test fixture.
service Echo {
  // Echo a single message back to the caller.
  rpc Say (SayRequest) returns (SayResponse);
  // Echo the same message many times.
  rpc SayMany (SayRequest) returns (SayResponse);
  // Server-streaming: receive a single request, push many responses.
  rpc StreamBack (SayRequest) returns (stream SayResponse);
  // Bidirectional streaming.
  rpc Chat (stream SayRequest) returns (stream SayResponse);
}

message SayRequest {
  string text = 1;
  int32 repeat = 2;
}

message SayResponse {
  string echo = 1;
  repeated string history = 2;
}