Skip to content

Update development dependencies, migrate to 2021 edition - #1140

Merged
djc merged 3 commits into
mainfrom
dependencies
Jan 13, 2023
Merged

djc merged 3 commits into
mainfrom
dependencies

Conversation

@djc

@djc djc commented Dec 12, 2022 •

Copy link
Copy Markdown
Member

Since our MSRV is 1.56+ anyway, might as well update to the new edition.

@djc

djc commented Dec 12, 2022

Copy link
Copy Markdown
Member Author

@ctz are you okay with migrating away from criterion? (In a commit added after your review.)

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #1140 (ed19678) into main (ea99a6b) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head ed19678 differs from pull request most recent head 0282cfd. Consider uploading reports for the commit 0282cfd to get more accurate results

@@            Coverage Diff             @@
##             main    #1140      +/-   ##
==========================================
- Coverage   95.61%   95.60%   -0.01%     
==========================================
  Files          60       60              
  Lines       10076    10054      -22     
==========================================
- Hits         9634     9612      -22     
  Misses        442      442              
Impacted Files Coverage Δ
rustls/src/client/client_conn.rs 84.23% <ø> (ø)
rustls/src/conn.rs 92.48% <ø> (ø)
rustls/src/lib.rs 100.00% <ø> (ø)
rustls/src/msgs/codec.rs 98.69% <ø> (ø)
rustls/src/msgs/deframer.rs 97.56% <ø> (ø)
rustls/src/msgs/message.rs 94.40% <ø> (ø)
rustls/src/msgs/message_test.rs 98.11% <ø> (ø)
rustls/src/msgs/mod.rs 100.00% <ø> (ø)
rustls/src/msgs/persist_test.rs 100.00% <ø> (ø)
rustls/src/sign.rs 95.23% <ø> (+0.02%) ⬆️
... and 16 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ctz

ctz commented Dec 12, 2022

Copy link
Copy Markdown
Member

@ctz are you okay with migrating away from criterion? (In a commit added after your review.)

Yeah I'm not wedded to criterion and it's quite heavy for what we're needing from it.

@djc

djc commented Dec 12, 2022

Copy link
Copy Markdown
Member Author

Any clue why this one CI job can't find env_logger 0.10? It doesn't make sense to me.

@ctz

ctz commented Dec 31, 2022

Copy link
Copy Markdown
Member

Any clue why this one CI job can't find env_logger 0.10? It doesn't make sense to me.

Had a quick look at this: env_logger 0.10.0 moved its MSRV to 1.60 in rust-cli/env_logger@660cf7f and so our MSRV of 1.57 cannot see it. I guess our option is to bump our MSRV further or stick on env_logger on 0.9 for a while. I prefer probably the latter because env_logger is a pretty minor dev-dependency while increasing MSRV for relatively unimportant reasons has a real cost on downstream users.

@djc

djc commented Dec 31, 2022

Copy link
Copy Markdown
Member Author

Yup, will fix that up soon.

@djc

djc commented Jan 9, 2023

Copy link
Copy Markdown
Member Author

Fixed this up, and also bumped the base64 dependency.

djc added 3 commits January 13, 2023 11:28
This has less rich output but doesn't have any dependencies, very
much unlike criterion (which was breaking our minimal versions check).
@djc
djc merged commit bdd1392 into main Jan 13, 2023
@djc
djc deleted the dependencies branch January 13, 2023 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants