Skip to content

Commit

Permalink
tai64 v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-iqlusion committed Aug 20, 2019
1 parent 9a8aa78 commit 04a0498
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions tai64/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [3.0.0] (2019-08-19)

- Remove `failure` ([#245])

## [2.0.1] (2019-05-24)

- Test all crates on Rust 1.35.0 ([#206])
Expand Down Expand Up @@ -36,6 +40,8 @@

- Initial release

[3.0.0]: https://github.com/iqlusioninc/crates/pull/250
[#245]: https://github.com/iqlusioninc/crates/pull/245
[2.0.1]: https://github.com/iqlusioninc/crates/pull/208
[#206]: https://github.com/iqlusioninc/crates/pull/206
[2.0.0]: https://github.com/iqlusioninc/crates/pull/197
Expand Down
2 changes: 1 addition & 1 deletion tai64/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tai64"
description = "TAI64 and TAI64N (i.e. Temps Atomique International) timestamp support for Rust"
version = "2.0.1" # Also update html_root_url in lib.rs when bumping this
version = "3.0.0" # Also update html_root_url in lib.rs when bumping this
authors = ["Tony Arcieri <tony@iqlusion.io>", "sopium <sopium@mysterious.site>"]
license = "Apache-2.0"
edition = "2018"
Expand Down
6 changes: 3 additions & 3 deletions tai64/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Crate][crate-image]][crate-link]
[![Docs][docs-image]][docs-link]
[![Apache 2.0 Licensed][license-image]][license-link]
![Rust 1.35+][rustc-image]
![MSRV][rustc-image]
[![Safety Dance][safety-image]][safety-link]
[![Build Status][build-image]][build-link]
[![Gitter Chat][gitter-image]][gitter-link]
Expand All @@ -18,7 +18,7 @@ Supports converting to/from Rust's built-in [SystemTime] type and optionally to

## Requirements

- Rust 1.35+
- Rust **1.36+**

## License

Expand Down Expand Up @@ -48,7 +48,7 @@ without any additional terms or conditions.
[docs-link]: https://docs.rs/tai64/
[license-image]: https://img.shields.io/badge/license-Apache2.0-blue.svg
[license-link]: https://github.com/iqlusioninc/crates/blob/develop/LICENSE
[rustc-image]: https://img.shields.io/badge/rustc-1.35+-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.36+-blue.svg
[safety-image]: https://img.shields.io/badge/unsafe-forbidden-success.svg
[safety-link]: https://github.com/rust-secure-code/safety-dance/
[build-image]: https://travis-ci.com/iqlusioninc/crates.svg?branch=develop
Expand Down
6 changes: 3 additions & 3 deletions tai64/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//! TAI64(N) timestamp generation, parsing and calculation.

#![no_std]
#![deny(warnings, missing_docs, unused_import_braces, unused_qualifications)]
#![deny(warnings, missing_docs, rust_2018_idioms, unused_qualifications)]
#![forbid(unsafe_code)]
#![doc(html_root_url = "https://docs.rs/tai64/2.0.1")]
#![doc(html_root_url = "https://docs.rs/tai64/3.0.0")]

#[cfg(feature = "chrono")]
use chrono::{DateTime, NaiveDateTime, Utc};
Expand Down Expand Up @@ -293,7 +293,7 @@ pub enum Error {
}

impl fmt::Display for Error {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let description = match self {
Error::LengthInvalid => "length invalid",
Error::NanosInvalid => "invalid number of nanoseconds",
Expand Down

0 comments on commit 04a0498

Please sign in to comment.