Skip to content

Commit

Permalink
Create BoundProvider, NeoFormatter, and TypedNeoFormatter (#4877)
Browse files Browse the repository at this point in the history
Part of #1317

This PR adds `TypedNeoFormatter` and `NeoFormatter` that use a type parameter to handle all datetime formatting.

It also adds `BoundProvider` to the icu_provider crate.
  • Loading branch information
sffc committed May 9, 2024
1 parent 31e085a commit 84986f7
Show file tree
Hide file tree
Showing 12 changed files with 1,829 additions and 699 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
- `icu_provider`
- (Small breakage) `DataPayload::new_owned()` is no longer `const`, this was a mistake (https://github.com/unicode-org/icu4x/pull/4456)
- Add `NeverMarker` to allow for DataProvider bounds that never return data (https://github.com/unicode-org/icu4x/issues/4186)
- Add `BoundProvider` to allow temporal separation between key and request (https://github.com/unicode-org/icu4x/pull/4877)
- `icu_provider_blob`
- Blob v2 no longer allocates (https://github.com/unicode-org/icu4x/pull/4383)
- FFI:
Expand Down
358 changes: 222 additions & 136 deletions components/datetime/src/calendar.rs

Large diffs are not rendered by default.

Loading

0 comments on commit 84986f7

Please sign in to comment.