swiss-eph-data 0.1.1

Embedded ephemeris data files for swiss-eph (Swiss Ephemeris)
Documentation
  • Coverage
  • 100%
    6 out of 6 items documented1 out of 3 items with examples
  • Size
  • Source code size: 1.79 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 34.29 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 21s Average build duration of successful builds.
  • all releases: 21s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • fusionstrings/swiss-eph
    6 2 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • fusionstrings

swiss-eph-data

Embedded ephemeris data files for swiss-eph.

Included Files

File Description Coverage
sepl_18.se1 Planetary positions 1800-2400 CE
semo_18.se1 Lunar positions 1800-2400 CE

Usage

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
}

Size

This crate adds approximately 1.7 MB to your binary.

License

AGPL-3.0 (same as Swiss Ephemeris)