sweph-sys 0.2.0

Raw FFI bindings to the Swiss Ephemeris C library (vendored sources, v2.10.03)
Documentation
  • Coverage
  • 5.33%
    4 out of 75 items documented0 out of 0 items with examples
  • Size
  • Source code size: 1.61 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 571.38 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 9s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • invents-us/sweph-rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • dbritsch

Raw FFI bindings to the Swiss Ephemeris C library.

The C sources (v2.10.03, pinned in vendor/UPSTREAM_COMMIT) are vendored and compiled by build.rs with TLSOFF, so the library keeps one process-wide state (ephemeris path, open file handles, caches) shared by all threads. The Swiss Ephemeris is not thread-safe: callers must serialize every call into this crate. The companion sweph crate does that behind a mutex and is the recommended entry point; use these raw bindings directly only if you provide equivalent locking.

Swiss Ephemeris is © Astrodienst AG, dual-licensed AGPL-3.0 or the Swiss Ephemeris Professional License. This crate is distributed under AGPL-3.0.