monaco-grpc-sdk
Typed Rust gRPC client SDK for the Monaco Exchange API, generated from Protocol Buffer definitions.
Usage
Plaintext (development / localhost)
[]
= "0.6"
= { = "0.14", = ["transport"] }
= { = "1", = ["full"] }
use OrdersServiceClient;
async
TLS (production / HTTPS endpoints)
The transport feature alone does not enable TLS. To connect to https:// endpoints, enable a TLS backend in tonic and a roots provider:
[]
= "0.6"
= { = "0.14", = ["transport", "tls-ring", "tls-webpki-roots"] }
= { = "1", = ["full"] }
use OrdersServiceClient;
use ;
async
Regenerating
After proto changes, run from the repo root:
This requires a valid BUF_TOKEN environment variable with access to buf.build/monaco-sdk/api.