Josh Triplett
8d44aec337
Merge pull request #326 from joshtriplett/three-shall-be-the-counting-of-the-http-types
...
Cargo.toml: Bump version to 3.0.0
2021-01-23 14:38:48 -08:00
Josh Triplett
3f167bafbc
Cargo.toml: Bump version to 3.0.0
...
The http-types 3.0 development process will make various semver-major
changes. Having the version number bumped at the start of the
development cycle makes it easier to test those changes locally with
other crates, without treating the latest bits from git as still
compatible with the last 2.x version.
2021-01-23 14:29:08 -08:00
Yoshua Wuyts
e3801d0f43
Merge pull request #324 from http-rs/simplify-request-examples
...
Simplify Request examples
2021-01-23 16:41:35 +01:00
Yoshua Wuyts
667ecba1e6
Simplify Request examples
2021-01-23 15:48:04 +01:00
Yoshua Wuyts
c432783515
v2.10.0
2021-01-22 19:30:43 +01:00
Yoshua Wuyts
338508d22f
Implement `Header for (&str, &str)`
2021-01-22 18:43:17 +01:00
Yoshua Wuyts
463f3c264e
Fix TE test
2021-01-22 18:43:17 +01:00
Yoshua Wuyts
07a5edb6b6
Finish up header trait
2021-01-22 18:43:17 +01:00
Yoshua Wuyts
41282ee259
Add `Header` trait
...
Fixed headers: TE, TransferEncoding
2021-01-22 18:43:17 +01:00
Yoshua Wuyts
a918ed3c6d
Merge pull request #321 from http-rs/fix-cargo-clippy
...
Fix clippy lints
2021-01-18 20:04:45 +01:00
Yoshua Wuyts
3c83a82937
Fix other clippy lints
2021-01-18 19:07:36 +01:00
Yoshua Wuyts
d342c2174e
cargo clippy --fix
2021-01-18 18:51:18 +01:00
Yoshua Wuyts
bcfca5a651
Merge pull request #314 from http-rs/retry-after
...
Add the `Retry-After` type header
2021-01-15 18:08:32 +01:00
Yoshua Wuyts
b58b360f72
Merge pull request #310 from http-rs/refactor-media-type-internals
...
Refactor media type internals
2021-01-15 18:02:57 +01:00
Yoshua Wuyts
dc1f718059
improve tests
2020-12-26 19:23:45 +01:00
Yoshua Wuyts
aa773bb001
Update retry_after.rs
2020-12-26 19:16:03 +01:00
Yoshua Wuyts
f9559229de
Merge pull request #312 from http-rs/remove-travisyml
...
Delete .travis.yml
2020-12-26 17:41:19 +01:00
Yoshua Wuyts
b4562d9050
init retry-after
2020-12-26 17:40:59 +01:00
Yoshua Wuyts
19b6fd0743
Delete .travis.yml
2020-12-26 17:38:11 +01:00
Yoshua Wuyts
5b546b3627
cleanup logic somewhat
2020-12-24 18:28:48 +01:00
Yoshua Wuyts
9359daaef8
Simplify utf8 logic
2020-12-24 18:21:31 +01:00
Yoshua Wuyts
27950ea301
Refactor media type internals to use Cow
2020-12-24 17:40:10 +01:00
Yoshua Wuyts
f18821e3c3
Merge pull request #301 from http-rs/transfer
...
Add `Transfer-Encoding` and `TE` headers
2020-12-24 15:20:57 +01:00
Yoshua Wuyts
0946e8150b
Merge pull request #307 from joshtriplett/support-test-without-default-features
...
Make MIME tests conditional on the "fs" feature
2020-12-24 15:11:41 +01:00
Yoshua Wuyts
9bf39c9019
Merge pull request #306 from joshtriplett/optional-cookies
...
Allow omitting cookie support, with a new "cookies" feature
2020-12-24 15:10:10 +01:00
brightly-salty
00a08eb467
Formatting, cargo clippy
...
Formatting,
cargo clippy
Fix single error from earlier commit
2020-12-19 08:59:06 -06:00
Josh Triplett
015cf2f81e
Allow omitting cookie support, with a new "cookies" feature
...
The "cookie" crate introduces a substantial dependency tree. Allow
people to omit that dependency if they don't need it.
2020-12-19 02:46:39 -08:00
Josh Triplett
1732096d77
Make MIME tests conditional on the "fs" feature
...
This allows `cargo test --no-default-features` to pass, which helps when
testing if the code is functional without a feature.
2020-12-19 02:45:16 -08:00
brightly-salty
080071656f
Remove unneeded re-exports
...
Remove unneded reexports from crate root
Update documentation
2020-12-18 21:36:49 -06:00
brightly-salty
bafadd2e5b
Fix formatting for StatusCode
...
Fix formatting for StatusCode
(also ran cargo format)
2020-12-18 21:16:58 -06:00
Yoshua Wuyts
d8cb1e81f9
Merge pull request #277 from http-rs/referer
...
Add `other::Referer` header
2020-12-18 23:08:34 +01:00
Yoshua Wuyts
c40a529ecb
Merge pull request #294 from felippemr/felippemr-293
...
Update examples to use TryFrom<str> for Url implementation
2020-12-18 23:04:00 +01:00
Yoshua Wuyts
cbcb0ee181
Apply Feedback from Review
2020-12-18 23:02:49 +01:00
Yoshua Wuyts
b0e460de6d
Add `other::Referer` header
2020-12-18 22:48:33 +01:00
Yoshua Wuyts
3eda9dfbe8
Add `Transfer-Encoding` and `TE` headers
2020-12-18 22:45:13 +01:00
Yoshua Wuyts
ef5d1c84c0
Merge pull request #278 from http-rs/sourcemap
...
Add `other::SourceMap` header
2020-12-18 16:21:39 +01:00
Yoshua Wuyts
9bafdd6376
Merge pull request #270 from http-rs/accept
...
Add `content::{Accept, ContentType}` headers
2020-12-18 16:11:30 +01:00
Yoshua Wuyts
eb40bacb27
Apply feedback from review
...
Co-Authored-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2020-12-18 16:11:17 +01:00
Yoshua Wuyts
d71214ccbb
Add `other::SourceMap` header
2020-12-18 16:11:17 +01:00
Yoshua Wuyts
7219538068
add feedback from review
2020-12-18 16:05:07 +01:00
Yoshua Wuyts
43c036d518
Apply suggestions from code review
...
Co-authored-by: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2020-12-18 16:03:15 +01:00
Yoshua Wuyts
d8c65ab49d
Merge pull request #299 from joshtriplett/upgrade-pin-project
...
Upgrade pin-project-lite to 0.2.0
2020-12-18 15:09:21 +01:00
Josh Triplett
fd99a8d6eb
Upgrade pin-project-lite to 0.2.0
2020-12-18 00:26:14 -08:00
Felippe Raposo
e9a54d0fa2
Update examples to use TryFrom<str> for Url implementation
2020-12-04 20:46:04 -08:00
Jacob Rothstein
f77c653d67
(cargo-release) version 2.9.0
2020-12-04 13:27:29 -08:00
Yoshua Wuyts
b133109812
Merge pull request #291 from http-rs/stabilize-upgrade
...
Stabilize upgrade
2020-12-04 20:01:23 +01:00
Yoshua Wuyts
933596a014
Merge pull request #292 from pepoviola/stabilize-upgrade-response
...
stabilize upgrade in response
2020-12-04 16:23:10 +01:00
Pepo Viola
30613afb29
fmt
2020-11-30 18:08:45 -03:00
Pepo Viola
a1481568d3
needed changes for ci and clean
2020-11-30 18:01:25 -03:00
Pepo Viola
573abec530
stabilize upgrade in response
2020-11-30 09:49:08 -03:00