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

Can I use it on cassandra? #82

Open
pili2026 opened this issue May 27, 2019 · 3 comments
Open

Can I use it on cassandra? #82

pili2026 opened this issue May 27, 2019 · 3 comments

Comments

@pili2026
Copy link

pili2026 commented May 27, 2019

Because I did not see information about cassandra on the list, so if i want to build like Sql, is there a related way?

@sfackler
Copy link
Owner

This crate's readme mentions r2d2: https://github.com/AlexPikalov/cdrs

@pili2026
Copy link
Author

Because I use cassandra-sys-rs and build an executable program.
But the connection was too time-consuming to build, so I wondered if I could use it in casandra-sys-rs?

@sfackler
Copy link
Owner

Sure, if you make a type that implements this trait: https://docs.rs/r2d2/0.8.4/r2d2/trait.ManageConnection.html

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

No branches or pull requests

2 participants