Commit Graph

181 Commits

Author SHA1 Message Date
openharmony_ci
9306339249
!2 README.OpenSource 中License信息整改
Merge pull request !2 from peizhe/master
2023-05-05 02:26:06 +00:00
peizhe
233e6f15de README.OpenSource 中License信息整改
Signed-off-by: peizhe <zhaipeizhe@huawei.com>
2023-05-04 09:35:52 +08:00
openharmony_ci
3c619e17c7
!1 [mime]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
Merge pull request !1 from peizhe/master
2023-04-19 01:28:42 +00:00
peizhe
b0be134693 Add GN Build Files and Custom Modifications
Signed-off-by: peizhe <472708703@qq.com>
2023-04-18 18:29:26 +08:00
Sean McArthur
ce5062d216 v0.3.17 2023-03-20 11:04:58 -04:00
82marbag
2370800318
Add MimeIter (#145)
This allows parsing multiple mimes in a comma separate value
2023-03-15 15:08:35 -04:00
Sean McArthur
d6f2ec7c80 v0.3.16 2020-01-07 12:10:57 -08:00
Sean McArthur
e52450af75 Fix essence doc link typo 2020-01-07 12:10:30 -08:00
Sean McArthur
99fd219d2e v0.3.15 2020-01-06 10:27:23 -08:00
Sean McArthur
e6797c1f18 Add Mime::essence_str 2020-01-06 10:23:34 -08:00
Sean McArthur
e8fe410173 Fix deprecated Error::description usage 2020-01-06 10:23:34 -08:00
Sean McArthur
9b6b1eb321 v0.3.14 2019-09-09 11:23:26 -07:00
Sean McArthur
26d1a59629 allow deprecated ... patterns in lookup table test 2019-09-09 11:23:26 -07:00
Sean McArthur
1714f91782 use question mark operator instead of try macro 2019-09-09 11:21:40 -07:00
Sean McArthur
6975b9ec58 remove unicase dependency 2019-09-09 11:18:42 -07:00
Sean McArthur
b5428fd439 v0.3.13 2019-01-11 12:24:40 -08:00
Sean McArthur
6f08d54155
Strip empty parameter lists when parsing (#103)
Closes #102
2019-01-11 12:22:07 -08:00
Sean McArthur
959ed81d70 v0.3.12 2018-10-15 13:12:06 -07:00
Sean McArthur
149c1b7b69 Revert "Ignore invalid params instead of returning an error"
This reverts commit 0a67f983bf.
2018-10-15 13:10:31 -07:00
Sean McArthur
1c105c90ce v0.3.11 2018-10-15 12:59:44 -07:00
Bastien Orivel
0a67f983bf Ignore invalid params instead of returning an error
Fixes #90
2018-10-15 12:58:40 -07:00
Sean McArthur
7c1cbe9076 v0.3.9 2018-08-10 11:27:11 -07:00
Sander Maijers
62656d1671 feat: add vCard, PDF and WOFF(2)
Also complete SVG addition.
2018-08-10 10:34:17 -07:00
Sean McArthur
7035a6dbbb v0.3.8 2018-07-02 10:04:32 -07:00
Rasmus Kaj
e02b2fe0d4 Add an IMAGE_SVG constant (#86)
Also, to be able to declare the plus position, change the type of
pieces in the mimes macro from `tt` to `expr`.
2018-06-30 13:46:17 -07:00
Rasmus Kaj
ba9f1206d3 Fix test_mimes_macro_consts. (#87)
Put the result in an underscore variable so the compiler doesn't
complain that it is unused.
2018-06-30 13:46:08 -07:00
Sean McArthur
65a14e1f64 v0.3.7 2018-05-04 12:50:11 -07:00
Sean McArthur
027bbac131 fix warnings for deprecated AsciiExt 2018-05-04 12:50:11 -07:00
Jim Holmstrom
e8502bf80b Add application/javascript mime constant 2018-05-04 12:11:39 -07:00
Sean McArthur
69478c0889 v0.3.5 2017-10-11 13:15:18 -07:00
Sean McArthur
1f25d63011 fix docs for */*
Closes #58
2017-10-11 13:12:37 -07:00
Sean McArthur
94cf6c19e4 fix parsing semi-colons after quoted text
Closes #64
2017-10-11 12:57:31 -07:00
Sander Maijers
2eea649b27 Add TSV, CSV types 2017-10-09 09:36:28 -07:00
Sean McArthur
f8e7bd3d35 clean up between cargo build and cargo test in CI 2017-09-19 12:17:41 -07:00
Sean McArthur
8d7f019bcd add a usage example to README 2017-09-19 11:58:29 -07:00
Sean McArthur
27d4259a7b update readme with badges, move contribution to separate file 2017-09-19 11:50:28 -07:00
Sean McArthur
0530c2be90 v0.3.4 2017-09-19 10:41:10 -07:00
Austin Bonander
c01e3961b5 impl Into<str> for Name (#60)
* impl Into for Name

This should still be workable if/when the source is changed as per the `TODO`

* Make `Name` API changes as discussed on PR

* Fix compiler error
2017-09-16 23:38:00 -07:00
Sean McArthur
2b850333ed Merge pull request #62 from pftbest/charset
Add TEXT_HTML_UTF_8.
2017-09-16 18:47:55 -07:00
Vadzim Dambrouski
91f8d5f2f8 Add TEXT_HTML_UTF_8. 2017-09-17 04:08:17 +03:00
Sean McArthur
61fcf73fd6 Merge pull request #59 from abonander/master
Implement `Error` and `Display` for `FromStrError` and `parse::ParseError`
2017-08-23 11:43:51 -07:00
Austin Bonander
103185420e Implement Error and Display for FromStrError and parse::ParseError 2017-08-22 23:53:06 -07:00
Sean McArthur
7b8b6c4fd9 v0.3.3 2017-08-09 14:59:43 -07:00
Sean McArthur
fb4771830d fix travis CI badge for name change 2017-08-09 14:56:08 -07:00
Sean McArthur
e415670d62 Merge pull request #57 from sfackler/params-iter
Add an iterator over the parameters of a Mime
2017-08-09 10:26:24 -07:00
Steven Fackler
dd825ca207 Add an iterator over the parameters of a Mime
Closes #56
2017-08-07 12:52:14 -07:00
Steven Fackler
81c1d4b165 Rename Params to ParamSource 2017-08-07 12:38:54 -07:00
Sean McArthur
aab2d6708b v0.3.2 2017-06-12 20:12:38 -07:00
Sean McArthur
512e0d8022 change valid token rules to be compatible with HTTP token
Closes #54
2017-06-12 20:08:35 -07:00
Sean McArthur
fda8cf121a v0.3.1 2017-06-09 14:33:55 -07:00