sagebind / isahc

The practical HTTP client that is fun to use.
https://docs.rs/isahc
MIT License
705 stars 62 forks source link

chore: Update code style to 2021 edition #402

Closed Xuanwo closed 2 years ago

Xuanwo commented 2 years ago

Signed-off-by: Xuanwo github@xuanwo.io

This PR intends to update our coding style to the 2021 edition.

codecov[bot] commented 2 years ago

Codecov Report

Merging #402 (5d29264) into master (2cb2fe4) will increase coverage by 1.98%. The diff coverage is 91.17%.

@@            Coverage Diff             @@
##           master     #402      +/-   ##
==========================================
+ Coverage   49.96%   51.94%   +1.98%     
==========================================
  Files          52       52              
  Lines        6032     5796     -236     
==========================================
- Hits         3014     3011       -3     
+ Misses       3018     2785     -233     
Impacted Files Coverage Δ
src/cookies/interceptor.rs 73.91% <ø> (ø)
src/lib.rs 16.59% <ø> (+1.89%) :arrow_up:
tests/expect.rs 100.00% <ø> (ø)
tests/headers.rs 97.47% <ø> (ø)
src/cookies/psl/mod.rs 80.95% <40.00%> (-4.05%) :arrow_down:
src/agent/selector.rs 76.13% <100.00%> (ø)
src/body/mod.rs 83.33% <100.00%> (ø)
src/body/sync.rs 81.37% <100.00%> (ø)
src/client.rs 82.35% <100.00%> (+0.23%) :arrow_up:
src/config/dial.rs 70.83% <100.00%> (-0.60%) :arrow_down:
... and 11 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

sagebind commented 2 years ago

Thanks! Keep in mind that this will be merged into the master branch which is tracking the 2.0 release. This will require an MSRV bump to 1.56, but I was planning on making that bump for 2.0 anyway.