5225225
dd14068ae6
Rustfmt/clippy ignore, add benchmarks to clippy/check CI runs
2021-11-17 12:10:38 +01:00
5225225
6e375783d1
Move toint_1 to around the other toints
2021-11-17 12:10:38 +01:00
5225225
58617ec1a6
Add formatting benchmark, forbid unsafe code
2021-11-17 12:10:38 +01:00
5225225
527d389d64
Remove unsafe in parser, also make it faster!
2021-11-17 12:10:38 +01:00
Pyfisch
1a10f1b36b
Reject inconsistent date strings
...
Check if the parsed date is bad by roundtripping to SystemTime.
Release v1.0.1
2021-05-24 18:39:36 +02:00
David Kellum
7880c1147b
Add test for HttpDate parsed vs from SystemTime equality (failing)
2021-05-24 18:39:36 +02:00
Pyfisch
db4cd6ced3
Release v1.0.0
2021-03-31 12:29:24 +02:00
Pyfisch
644f5621e3
Rustfmt files and fix lints
...
Ensure that PartialOrd and Ord agree on an ordering.
2021-03-29 21:23:54 +02:00
Pyfisch
2916e56d76
Update code to 2018 edition
2021-03-29 20:49:33 +02:00
Brandon W Maister
3e53ffaf24
Derive Hash for HttpDate
...
The headers crate has expressed interest in using httpdate[1], but it needs
`Hash` to be implemented on its `HttpDate` facade.
[1]: https://github.com/hyperium/headers/pull/74
2021-03-29 19:55:52 +02:00
Paul Colomiets
5deecd8b29
Fixes typo "Mai" -> "May"
2018-05-02 18:36:01 +03:00
Pyfisch
edb34d01ed
Increment version to 0.3.1
...
Now with faster formatting & updated fuzzer.
2018-03-04 19:54:42 +01:00
Paul Colomiets
7284850c7f
Hardcode datetime formatting for performance
...
Benchmark before the change:
```
test format ... bench: 232 ns/iter (+/- 9)
```
Benchmark after the change:
```
test format ... bench: 74 ns/iter (+/- 1)
```
2018-02-22 00:46:07 +02:00
Paul Colomiets
dc21314c08
Faster calculations for formatting
2018-02-22 00:32:03 +02:00
Pyfisch
60b551bd97
Expose HttpDate type
...
Closes #1
2017-09-06 12:49:28 +02:00
Pyfisch
41b691378e
Add crates.io badge. Add note about fuzzing. Format files.
2017-03-04 21:39:32 +01:00
Pyfisch
0ecaefb836
Add simple fuzzer. Fix bugs found with fuzzing.
...
Use bytestrings internally.
Now check all bytes in date string (do not ignore delimiters).
2017-03-04 21:21:40 +01:00
Pyfisch
3ef1443a6e
Link docs and build status. Minor doc improvements.
2016-12-24 12:04:49 +01:00
Pyfisch
77c28fc29e
Add opaque error type.
...
Contains important impls.
2016-12-24 11:05:50 +01:00
Pyfisch
1937cf6a95
initial commit
2016-10-02 22:29:41 +02:00