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

Cleanup dependencies #872

Merged
merged 6 commits into from
Mar 14, 2023
Merged

Cleanup dependencies #872

merged 6 commits into from
Mar 14, 2023

Conversation

paolobarbolini
Copy link
Contributor

@paolobarbolini paolobarbolini commented Mar 10, 2023

Cleans up a few dependency related issues.

This PR is best reviewed commit-by-commit.

Will create a merge conflict with #871

@Jarema
Copy link
Member

Jarema commented Mar 11, 2023

Thanks for the effort!
Will look into soon.

For future PR's, I strongly suggest opening Issue first to discuss ideas to avoid work that might be rejected.

The tokio `full` feature should never get enabled by a library
as it forces downstream users to live with some useless
features enabled, plus the extra dependencies.
tokio-retry was already part of the normal dependencies, so
unless extra features needed to be enabled the import is useless.
once_cell is the correct way forward, as an API similar to it
is also some day going to be stabilized in the Rust std.

As some regexes were already using once_cell, this migrates
the remaining ones.
@paolobarbolini
Copy link
Contributor Author

Rebased on top of main to hopefully get all jobs to pass

Copy link
Member

@Jarema Jarema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Thanks for the contribution!

@Jarema Jarema merged commit 70d34f6 into nats-io:main Mar 14, 2023
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

3 participants