Skip to content

Commit 7304b2f

Browse files
Merge pull request #250 from iqlusioninc/tai64/3.0.0
tai64 v3.0.0
2 parents 9a8aa78 + 04a0498 commit 7304b2f

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tai64/CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [3.0.0] (2019-08-19)
2+
3+
- Remove `failure` ([#245])
4+
15
## [2.0.1] (2019-05-24)
26

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

3741
- Initial release
3842

43+
[3.0.0]: https://github.com/iqlusioninc/crates/pull/250
44+
[#245]: https://github.com/iqlusioninc/crates/pull/245
3945
[2.0.1]: https://github.com/iqlusioninc/crates/pull/208
4046
[#206]: https://github.com/iqlusioninc/crates/pull/206
4147
[2.0.0]: https://github.com/iqlusioninc/crates/pull/197

tai64/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "tai64"
33
description = "TAI64 and TAI64N (i.e. Temps Atomique International) timestamp support for Rust"
4-
version = "2.0.1" # Also update html_root_url in lib.rs when bumping this
4+
version = "3.0.0" # Also update html_root_url in lib.rs when bumping this
55
authors = ["Tony Arcieri <tony@iqlusion.io>", "sopium <sopium@mysterious.site>"]
66
license = "Apache-2.0"
77
edition = "2018"

tai64/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Crate][crate-image]][crate-link]
44
[![Docs][docs-image]][docs-link]
55
[![Apache 2.0 Licensed][license-image]][license-link]
6-
![Rust 1.35+][rustc-image]
6+
![MSRV][rustc-image]
77
[![Safety Dance][safety-image]][safety-link]
88
[![Build Status][build-image]][build-link]
99
[![Gitter Chat][gitter-image]][gitter-link]
@@ -18,7 +18,7 @@ Supports converting to/from Rust's built-in [SystemTime] type and optionally to
1818

1919
## Requirements
2020

21-
- Rust 1.35+
21+
- Rust **1.36+**
2222

2323
## License
2424

@@ -48,7 +48,7 @@ without any additional terms or conditions.
4848
[docs-link]: https://docs.rs/tai64/
4949
[license-image]: https://img.shields.io/badge/license-Apache2.0-blue.svg
5050
[license-link]: https://github.com/iqlusioninc/crates/blob/develop/LICENSE
51-
[rustc-image]: https://img.shields.io/badge/rustc-1.35+-blue.svg
51+
[rustc-image]: https://img.shields.io/badge/rustc-1.36+-blue.svg
5252
[safety-image]: https://img.shields.io/badge/unsafe-forbidden-success.svg
5353
[safety-link]: https://github.com/rust-secure-code/safety-dance/
5454
[build-image]: https://travis-ci.com/iqlusioninc/crates.svg?branch=develop

tai64/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//! TAI64(N) timestamp generation, parsing and calculation.
22
33
#![no_std]
4-
#![deny(warnings, missing_docs, unused_import_braces, unused_qualifications)]
4+
#![deny(warnings, missing_docs, rust_2018_idioms, unused_qualifications)]
55
#![forbid(unsafe_code)]
6-
#![doc(html_root_url = "https://docs.rs/tai64/2.0.1")]
6+
#![doc(html_root_url = "https://docs.rs/tai64/3.0.0")]
77

88
#[cfg(feature = "chrono")]
99
use chrono::{DateTime, NaiveDateTime, Utc};
@@ -293,7 +293,7 @@ pub enum Error {
293293
}
294294

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

0 commit comments

Comments
 (0)