Expand description
§RotaStellar
Rust SDK for RotaStellar - Space Computing Infrastructure.
Plan, simulate, and operate orbital data centers and space intelligence systems.
subhadipmitra@: This is the core SDK crate that all other rotastellar-* crates depend on. It provides common types (Position, Orbit), error handling, and authentication. We prioritized simplicity and zero-copy where possible for performance.
§Overview
RotaStellar provides tools for:
- Orbital Compute Suite — Plan and simulate space-based data centers
- Orbital Intelligence — Track, analyze, and monitor orbital activity
§Example
use rotastellar::types::{Position, Orbit};
// Create a position (e.g., Kennedy Space Center)
let pos = Position::new(28.5729, -80.6490, 0.0).unwrap();
println!("Position: {}, {}", pos.latitude, pos.longitude);
// Create an ISS-like orbit
let orbit = Orbit::new(6778.0, 0.0001, 51.6, 100.0, 90.0, 0.0).unwrap();
println!("Orbital period: {:.1} minutes", orbit.orbital_period_minutes());
println!("Apogee: {:.1} km, Perigee: {:.1} km", orbit.apogee_km(), orbit.perigee_km());§Modules
types- Core data types (Position, Orbit, Satellite, TimeRange)error- Error types and Result aliasauth- Authentication utilitiesconfig- SDK configuration
§Links
Re-exports§
pub use auth::mask_api_key;pub use auth::validate_api_key;pub use auth::Environment;pub use config::Config;pub use config::ConfigBuilder;pub use error::ApiError;pub use error::AuthenticationError;pub use error::NetworkError;pub use error::Result;pub use error::RotaStellarError;pub use error::ValidationError;pub use types::Orbit;pub use types::Position;pub use types::Satellite;pub use types::TimeRange;pub use types::EARTH_MU;pub use types::EARTH_RADIUS_KM;
Modules§
- auth
- RotaStellar SDK - Authentication
- config
- RotaStellar SDK - Configuration
- error
- RotaStellar SDK - Custom Errors
- types
- RotaStellar SDK - Common Types
Constants§
- VERSION
- Current version of the crate.