-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating version to
0.7.0
=> Adhan v1.4.0
- Adding `Shafaq` enum - Adding `Rounding` enum; allows for customization on how the final prayer times are rounded using, `Nearest`, `Up`, or `None` variants - Adding Maghrib angle to the `Parameter` struct - Adding a proptery called `rounding` to the `Parameter` struct to use the `Rounding` enum - Adding a property called `shafaq` to the `Parameter` struct, using the `Shafaq` enum - Replaced `nearest_minute` method with `rounded_minute`; This method takes a parameter of type `Rounding` - Updating method signature of `season_adjusted_evening_twilight(latitude:day:year:sunset:shafaq:)` with the the `Shafaq` enum - Adding doc comments - Using the `rounding` method for Singapore `Method` - Adding `Turkey` to the `Method` enum - Adding `Tehran` to the `Method` enum; this method uses the newly added `maghrib_angle` property of the `Parameter` struct. - Adding `recomended` method; based on the latitude of the provided location a variant of the `HighLatitudeRule` is returned - Adding and updating tests - Code formatting - Updating copyright - Documenting changes in the `readme.md` file
- Loading branch information
Showing
18 changed files
with
337 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "salah" | ||
version = "0.5.0" | ||
version = "0.7.0" | ||
authors = ["Farhan Ahmed <[email protected]>"] | ||
edition = "2018" | ||
description = "Islamic prayer time library for Rust" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.