Skip to content

Commit

Permalink
0.3.16 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpratt committed Oct 24, 2022
1 parent ad3ce25 commit 05bdab8
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
29 changes: 29 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,35 @@ The format is based on [Keep a Changelog]. This project adheres to [Semantic Ver

---

## 0.3.16 [2022-10-24]

### Changed

- The minimum supported Rust version is now 1.60.0.
- The `serde-well-known` feature flag is deprecated. The necessary features for an item to be
enabled are indicated in documentation.
- Feature gates have been loosened for well-known formats.

### Added

- `const`s can now be provided as the format description for `time::serde::format_description!`. The
`const` must be of type `&[FormatItem<'_>]`, which is what is returned by the
`time::macros::format_description!` macro.

```rust
const TIME_FORMAT_ALT: &[FormatItem<'_>] = time::macros::format_description!("[hour]:[minute]");
time::serde::format_description!(time_format_alt, Time, TIME_FORMAT_ALT);
```

### Compatibility

- Some feature flags have been removed. None of these have ever been documented as flags, so any use
was unsupported. These flags are:
- `js-sys`
- `quickcheck-dep`
- `itoa`
- `time-macros`

## 0.3.15 [2022-10-03]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion time-macros/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "time-macros"
version = "0.2.4"
version = "0.2.5"
authors = ["Jacob Pratt <open-source@jhpratt.dev>", "Time contributors"]
edition = "2021"
rust-version = "1.60.0"
Expand Down
4 changes: 2 additions & 2 deletions time/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "time"
version = "0.3.15"
version = "0.3.16"
authors = ["Jacob Pratt <open-source@jhpratt.dev>", "Time contributors"]
edition = "2021"
rust-version = "1.60.0"
Expand Down Expand Up @@ -46,7 +46,7 @@ quickcheck = { version = "1.0.3", default-features = false, optional = true }
rand = { version = "0.8.4", optional = true, default-features = false }
serde = { version = "1.0.126", optional = true, default-features = false }
time-core = { version = "=0.1.0", path = "../time-core" }
time-macros = { version = "=0.2.4", path = "../time-macros", optional = true }
time-macros = { version = "=0.2.5", path = "../time-macros", optional = true }

[target.'cfg(target_family = "unix")'.dependencies]
libc = "0.2.98"
Expand Down

0 comments on commit 05bdab8

Please sign in to comment.