rustix3
Unofficial Rust client for the 3x-ui panel API (Xray-core).
Provides typed models and high-level methods for common panel operations.
Note: Some 3x-ui endpoints expect certain nested structures to be sent as JSON strings (e.g., inbound
settings). The client models handle these specifics transparently.
Implemented endpoints
- login
- Inbounds
- Inbound
- Client traffics with email
- Client traffics with id
- TG Send backup to admin
- Client IP address
- Add inbound
- Add client to inbound
- Update inbound
- Update client
- Clear client IP address
- Reset traffics of all inbound
- Reset traffics of all clients in an inbound
- Reset client traffics
- Delete client
- Delete inbound
- Delete depleted clients
- Online clients
Installation
Use the Git dependency directly:
[]
= { = "https://github.com/Xaneets/rustix3", = "main" }
Quick start
use Client;
async