Commit Graph

45 Commits

Author SHA1 Message Date
openharmony_ci 59a0263213 !2 README.OpenSource 中License信息整改
Merge pull request !2 from peizhe/master
OpenHarmony-v4.0-Beta1 OpenHarmony-v4.0-Beta2
2023-05-05 02:26:24 +00:00
peizhe 3ea3507e65 README.OpenSource 中License信息整改
Signed-off-by: peizhe <zhaipeizhe@huawei.com>
2023-05-04 09:26:42 +08:00
openharmony_ci cf772b7784 !1 [httpdate]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
Merge pull request !1 from peizhe/master
2023-04-19 01:28:36 +00:00
peizhe 62910ad917 Add GN Build Files and Custom Modifications
Signed-off-by: peizhe <472708703@qq.com>
2023-04-18 18:14:02 +08:00
Pyfisch a0d978c062 Release version 1.0.2 github.com/pyfisch/httpdate/refs/tags/v1.0.2 2021-11-17 12:29:48 +01:00
5225225 94d4895b11 Rustfmt/clippy ignore, add benchmarks to clippy/check CI runs 2021-11-17 12:10:38 +01:00
5225225 c6ba5c053c Remove allocation in encode_date benchmark 2021-11-17 12:10:38 +01:00
5225225 1230e55a00 Add all date formats to the benchmark 2021-11-17 12:10:38 +01:00
5225225 8bc58ae5c4 Move toint_1 to around the other toints 2021-11-17 12:10:38 +01:00
5225225 24c070c773 Add formatting benchmark, forbid unsafe code 2021-11-17 12:10:38 +01:00
5225225 cd305e8b43 Remove unsafe in parser, also make it faster! 2021-11-17 12:10:38 +01:00
Pyfisch 7952a74702 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 9fe1f17935 Add test for HttpDate parsed vs from SystemTime equality (failing) 2021-05-24 18:39:36 +02:00
Pyfisch 7989c5f6eb Release v1.0.0 2021-03-31 12:29:24 +02:00
Pyfisch 65a8b8f615 Remove old docs links Cargo.toml 2021-03-29 21:35:46 +02:00
Pyfisch 2e7d39cecc Remove Travis CI 2021-03-29 21:28:51 +02:00
Pyfisch 1685836926 Rustfmt files and fix lints
Ensure that PartialOrd and Ord agree on an ordering.
2021-03-29 21:23:54 +02:00
Pyfisch 7f5e2c5207 Add GitHub Actions CI and update README 2021-03-29 21:03:42 +02:00
Pyfisch 7b42fe40ea Update code to 2018 edition 2021-03-29 20:49:33 +02:00
Brandon W Maister 2c900f47c8 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
Pyfisch 82d0109122 Release 0.3.2 2018-05-02 18:10:16 +02:00
Pyfisch 911421938a Merge pull request #3 from tailhook/fixes_may
Fixes typo "Mai" -> "May"
2018-05-02 18:08:02 +02:00
Paul Colomiets a5b87edfc5 Fixes typo "Mai" -> "May" 2018-05-02 18:36:01 +03:00
Pyfisch 885e319c0c Increment version to 0.3.1
Now with faster formatting & updated fuzzer.
2018-03-04 19:54:42 +01:00
Pyfisch de070a523e Merge pull request #2 from tailhook/faster_formatting
Faster formatting
2018-03-04 19:37:57 +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 ad4ffc324a Publish v0.3.0 2017-09-06 15:42:30 +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 9c8ae80ea9 Increase minimum rust version to 1.13 2017-03-04 21:26:23 +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 fa85d8af55 Bump version to 0.2.0 2016-12-24 15:42:29 +01:00
Pyfisch 08dc1722cc Remove coveralls. 2016-12-24 12:17:55 +01:00
Pyfisch d018dae98e Add .coveralls.yml 2016-12-24 12:12:02 +01:00
Pyfisch 3ef1443a6e Link docs and build status. Minor doc improvements. 2016-12-24 12:04:49 +01:00
Pyfisch a33b0bbf45 Add secret token for travis. 2016-12-24 11:39:44 +01:00
Pyfisch 1a552b2b06 Update Cargo.toml 2016-12-24 11:15:20 +01:00
Pyfisch 77c28fc29e Add opaque error type.
Contains important impls.
2016-12-24 11:05:50 +01:00
Pyfisch a3a659d332 Update minimum supported version of Rust to 1.10 2016-10-15 12:34:35 +02:00
Pyfisch 6c097508b8 Add dummy feature unstable. 2016-10-15 12:23:13 +02:00
Pyfisch 677ef4e6fd Fix .travis.yml 2016-10-15 12:19:45 +02:00
Pyfisch ceac8dbfa1 Add README.md 2016-10-15 12:15:23 +02:00
Pyfisch a88f1070fa add .travis.yml 2016-10-02 22:31:14 +02:00
Pyfisch 1937cf6a95 initial commit 2016-10-02 22:29:41 +02:00