Overview
libmuslim-rs is the official Rust binding for libmuslim. It wraps the C headers in a safe, idiomatic API: invalid input is rejected by the type system or returned as a Result, and no unsafe is required of the caller.
Quick start
This example calculates the prayer times for Jakarta on 12 July 2026 using the KEMENAG (Indonesia) method and prints each time as HH:MM.
API reference
Complete reference for the public interface of libmuslim-rs. The crate is published as libmuslim-rs and imported as libmuslim.