Skip to content

Add Eq, ParialEq and Hash to ConnectParams (etc) #283

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

Merged
merged 1 commit into from
Aug 3, 2017

Conversation

amandasaurus
Copy link
Contributor

I wanted to be able to use ConnectParams as a key of a hash (to do simple connection pooling), so I've added these Derives.

@sfackler
Copy link
Owner

sfackler commented Aug 3, 2017

Thanks!

@sfackler sfackler merged commit 5518e0d into sfackler:master Aug 3, 2017
@amandasaurus
Copy link
Contributor Author

Could you please bump the version of postgres-shared and the dependency in postgres's Cargo.toml. Current version of postgres-shared is 0.4.0 which predates this patch being accepted

@sfackler
Copy link
Owner

Done!

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.

2 participants