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

Remove pest, use hand-written parsing instead. #3

Merged
merged 2 commits into from
Apr 15, 2019

Conversation

liamdawson
Copy link
Contributor

Rationale

I don't really know how to use pest, and while there are some intricacies to the authorized_keys format (which is why this crate exists), they don't require recursive parsing or other truly tricky usecases.

Outcome

Parsing speeds have improved by approximately an order of magnitude, as per criterion output. All the tests still pass (and one extra has been added to catch a particular possible error case).

@liamdawson liamdawson merged commit 45474f8 into hubauth:master Apr 15, 2019
@liamdawson liamdawson deleted the rid branch April 15, 2019 13:24
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.

None yet

1 participant