Skip to content

feat(rust/driver_manager): make some functions and modules pub instead of pub(crate)#4052

Merged
zeroshade merged 2 commits intoapache:mainfrom
zeroshade:make-rust-stuff-public
Mar 9, 2026
Merged

feat(rust/driver_manager): make some functions and modules pub instead of pub(crate)#4052
zeroshade merged 2 commits intoapache:mainfrom
zeroshade:make-rust-stuff-public

Conversation

@zeroshade
Copy link
Member

@zeroshade zeroshade commented Mar 6, 2026

To facilitate more reuse of the functions for locating drivers, searching for manifests, and loading drivers directly, it makes sense to make some of the functionality directly public instead of being only pub(crate). This will allow consumers to have more reuse of the components in the driver_manager (which I believe was the intent of the previous refactor in the first place).

This includes SearchHit, process_profile_value, DriverLibrary and some of the searching/loading methods of DriverLibrary.

@zeroshade zeroshade requested review from felipecrv and lidavidm March 6, 2026 23:37
@zeroshade zeroshade requested a review from wjones127 as a code owner March 6, 2026 23:37
@eitsupi
Copy link
Contributor

eitsupi commented Mar 7, 2026

The CI failure is unrelated to this change (see #4055).

@zeroshade zeroshade merged commit 65afee9 into apache:main Mar 9, 2026
2 of 10 checks passed
@felipecrv
Copy link
Contributor

which I believe was the intent of the previous refactor in the first place

Yes. I made then pub on my fork :) Didn't want to publish them here too prematurely though. Because once in the open, it's hard to make them private again.

.join("etc")
.join("adbc")
.join("drivers"),
.join("profiles"),
Copy link
Contributor

Choose a reason for hiding this comment

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

intentional change?

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.

4 participants