Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable header parsing to use R: std::io::BufRead #377

Merged
merged 3 commits into from
Mar 25, 2023

Conversation

str4d
Copy link
Owner

@str4d str4d commented Mar 24, 2023

Part of #368.

@str4d str4d added this to the rage 0.9.2 milestone Mar 24, 2023
@codecov
Copy link

codecov bot commented Mar 24, 2023

Codecov Report

Merging #377 (f337b55) into main (3260c7d) will increase coverage by 0.48%.
The diff coverage is 62.36%.

@@            Coverage Diff             @@
##             main     #377      +/-   ##
==========================================
+ Coverage   39.31%   39.80%   +0.48%     
==========================================
  Files          34       34              
  Lines        3080     3115      +35     
==========================================
+ Hits         1211     1240      +29     
- Misses       1869     1875       +6     
Impacted Files Coverage Δ
rage/src/bin/rage-mount/main.rs 0.00% <ø> (ø)
rage/src/bin/rage/main.rs 0.00% <ø> (ø)
age/src/primitives/armor.rs 40.86% <50.87%> (+0.55%) ⬆️
age/src/format.rs 48.54% <60.00%> (+1.95%) ⬆️
age/src/protocol.rs 65.24% <85.71%> (+0.91%) ⬆️
age/tests/testkit.rs 88.77% <100.00%> (+1.87%) ⬆️

... and 2 files with indirect coverage changes

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

This is significantly more efficient than `Decryptor::new` at parsing
headers, due to avoiding repeated short reads.
@str4d str4d force-pushed the 368-buffered-header-reading branch from 4cf436f to f337b55 Compare March 25, 2023 00:06
@str4d str4d merged commit f84af2c into main Mar 25, 2023
@str4d str4d deleted the 368-buffered-header-reading branch March 25, 2023 00:32
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.

1 participant