-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly format HTTPDate using time-rs
Format strings for time-rs are an original and more complex syntax than any of the strptime inspired examples that preceeded it. This syntax must be parsed before it can be used in a formatter, so we invoke a proc-macro to do that at compile time rather than every time the formatter is required. As time-rs requires an MSRV of 1.51, we must also increase our minimum supported version.
- Loading branch information
Showing
3 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
rust: | ||
- stable | ||
- nightly | ||
- 1.48 | ||
- 1.51 | ||
features: | ||
- default | ||
- ssl | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters