- Notifications
You must be signed in to change notification settings - Fork26
Use reexported postgres for NoTls in examples#24
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
It's weird that |
CI is running against 1.40, which I'd guess is too old for that version of subtle. It looks like you should just need to bump that to 1.41.0:https://github.com/dalek-cryptography/subtle/blob/master/.travis.yml#L16 |
subtle was failing on 1.40, then postgres-protocol was failing on 1.41.
Ah, that makes since. I installed 1.40.0 locally (rustup is awesome) and replicated the issue, then bumped locally. And immediately got this failure:
Looked that up and it was stabilized in 1.42, so bumped to that and we're green. |
Thanks! |
As we just discussed in#23. Rather than a big warning in the
README
about specific versions of the Postgres library which you'd have to remember to manually update, I just made the examples use the reexported library as you suggested.I removed the
use postgres::Client
since that wasn't actually getting used in the example and was generating a warning.