#date-time #time-parser #parser #time #date #ntp #leap-second

leap-seconds

A leap seconds library - realized as a leap-seconds.list parser

1 unstable release

0.1.0 Nov 26, 2022

#427 in Date and time

23 downloads per month

MIT/Apache

50KB
938 lines

leap-seconds

This crate provides a means of accessing current leap second data in rust.

This is achieved through a parser that can read and provide access to the data in a leap-seconds.list file. A copy of this file can be obtained from various sources. To name a few:

For more information & examples have a look at the documentation.

License

This project is licensed under the MIT License or version 2.0 of the Apache License.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Dependencies

~0.6–1.2MB
~27K SLoC