| Crates.io | swiss-eph-data |
| lib.rs | swiss-eph-data |
| version | 0.1.1 |
| created_at | 2026-01-20 17:06:43.184068+00 |
| updated_at | 2026-01-20 17:06:43.184068+00 |
| description | Embedded ephemeris data files for swiss-eph (Swiss Ephemeris) |
| homepage | |
| repository | https://github.com/fusionstrings/swiss-eph |
| max_upload_size | |
| id | 2057022 |
| size | 1,792,933 |
Embedded ephemeris data files for swiss-eph.
| File | Description | Coverage |
|---|---|---|
sepl_18.se1 |
Planetary positions | 1800-2400 CE |
semo_18.se1 |
Lunar positions | 1800-2400 CE |
Add as a dependency to your Cargo.toml:
[dependencies]
swiss-eph = "0.1"
swiss-eph-data = "0.1"
Then in your code:
use swiss_eph_data;
fn main() {
// Get the embedded ephemeris data
let planet_data = swiss_eph_data::SEPL_18;
let moon_data = swiss_eph_data::SEMO_18;
// Use with swiss-eph's virtual filesystem or write to disk
}
This crate adds approximately 1.7 MB to your binary.
AGPL-3.0 (same as Swiss Ephemeris)