Rust SDK
The official Rust SDK for RotaStellar, providing type-safe primitives for orbital compute and space intelligence applications.Status: Early Access — Request API key
Installation
Add to yourCargo.toml:
Quick Start
Available Types
Position
Geographic position with altitude:| Field | Type | Description |
|---|---|---|
latitude | f64 | Latitude in degrees (-90 to 90) |
longitude | f64 | Longitude in degrees (-180 to 180) |
altitude_km | f64 | Altitude above sea level in km |
Orbit
Keplerian orbital elements:| Field | Type | Description |
|---|---|---|
semi_major_axis_km | f64 | Semi-major axis in km |
eccentricity | f64 | Orbital eccentricity (0-1) |
inclination_deg | f64 | Inclination in degrees (0-180) |
raan_deg | f64 | Right ascension of ascending node |
arg_periapsis_deg | f64 | Argument of periapsis |
true_anomaly_deg | f64 | True anomaly |
Satellite
Satellite information with optional orbit and position:TimeRange
Time range for queries:Configuration
The SDK provides configuration utilities for when the HTTP client is available:Authentication Utilities
Validate and mask API keys:Error Handling
Error Types
| Error | Description |
|---|---|
RotaStellarError::Validation | Input validation failed |
RotaStellarError::Authentication | API key issues |
RotaStellarError::Api | API returned an error |
RotaStellarError::Network | Network connectivity issues |
Constants
Serde Support
All types implementSerialize and Deserialize:
Coming Soon
The following features are planned for future releases:- HTTP Client — Full API client with async support
- Blocking Client — Synchronous API for non-async contexts
- Streaming — Real-time satellite position updates
- TLE Parsing — Two-line element set parsing and propagation

