Use this guide to add the supported Rust client and make it available to your application.
Requirements
- Rust 1.86 or newer
- a Phaseo Gateway API key
Install
Add the client and JSON dependency:
Or run:
Phaseo::from_env() reads PHASEO_API_KEY:
PowerShell:
Keep the key on the server. Do not compile it into a desktop, mobile, browser, or other distributed client.
Verify the installation
Custom endpoints
Set PHASEO_BASE_URL when a development or proxy endpoint should replace https://api.phaseo.app/v1:
Remote endpoints must use HTTPS. Plain HTTP is accepted only when the parsed host is exactly localhost or a loopback IP address.
Next
Last modified on July 26, 2026