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

feat(rust): add driver manager and ability to expose Rust driver as C driver #1496

Closed
wants to merge 33 commits into from

Conversation

alexandreyc
Copy link
Contributor

Hello world!

Here is a PR that rebases the work done by @wjones127 in #446 and #416 to implement the driver manager and add the ability to expose native Rust driver as C API driver.

As of now, I've ensured that the code compiles, and the tests pass — excluding one, which I've temporarily ignored due to uncertainty about the logic. Additionally, I've made several minor improvements throughout.

I decided to remove async methods from core traits because, at this stage, it seemed to introduce unnecessary complexity without tangible benefits, especially since the C API is synchronous. Feel free to express your thoughts if you disagree :)

While the code has reached a functional state, I believe it could benefit from a thorough review, particularly in terms of memory and thread safety. I am currently integrating it with my application and anticipate uncovering any potential bugs (or confirming their absence).

I'm aware of the progress made by @mbrobbel in issue #1326, but I find it more reasonable to merge this PR first.

@github-actions github-actions bot added this to the ADBC Libraries 0.10.0 milestone Jan 29, 2024
@alexandreyc alexandreyc marked this pull request as draft January 30, 2024 11:31
@lidavidm lidavidm removed this from the ADBC Libraries 0.10.0 milestone Feb 12, 2024
@alexandreyc alexandreyc force-pushed the rust-implement-module branch from 248af16 to 5be1d61 Compare February 15, 2024 12:51
@github-actions github-actions bot added this to the ADBC Libraries 0.10.0 milestone Feb 15, 2024
@lidavidm lidavidm removed this from the ADBC Libraries 0.10.0 milestone Feb 18, 2024
@github-actions github-actions bot added this to the ADBC Libraries 0.11.0 milestone Feb 21, 2024
@alexandreyc alexandreyc force-pushed the rust-implement-module branch from fca997a to 7e20e56 Compare February 24, 2024 10:53
@alexandreyc alexandreyc force-pushed the rust-implement-module branch from 7e20e56 to 1ff35aa Compare March 15, 2024 09:53
@lidavidm lidavidm removed this from the ADBC Libraries 0.11.0 milestone Mar 18, 2024
@alexandreyc alexandreyc force-pushed the rust-implement-module branch from 1ff35aa to 1ee7b6d Compare April 6, 2024 15:11
@github-actions github-actions bot added this to the ADBC Libraries 1.0.0 milestone Apr 6, 2024
@alexandreyc
Copy link
Contributor Author

Close in favor of #1725

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.

3 participants