// sdk · Rust · coming soon
Rust SDK — in developmentComing soon
Crate `astroway` with full async support via Tokio and type-safe enums generated from OpenAPI 3.1.
// 01 / notify
Get notified at release
The Rust SDK is auto-generated from our OpenAPI 3.1 spec on every release. Drop us your email and we'll notify you the day it ships.
Notify me by email →Or use one of the SDKs below available now:
// 02 / highlights
Highlights
- Async via Tokio
- reqwest transport
- serde-powered models
- OpenAPI 3.1 codegen
- No-std build option
// 03 / preview
What the API will look like
Preview · syntax may change before release
use astroway::AstroWay;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let aw = AstroWay::new(std::env::var("AW_KEY")?);
let chart = aw.chart().create(ChartParams {
birth_date: "1991-08-24T16:30:00+03:00".into(),
latitude: 50.4501,
longitude: 30.5234,
house_system: "placidus".into(),
}).await?;
println!("{:?}", chart.planets.sun);
Ok(())
} Get notified when Rust SDK ships
Auto-generated from our OpenAPI 3.1 spec. Until Rust ships, use one of our available SDKs below — they all hit the same backend.