This is an automated email from the ASF dual-hosted git repository.
lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git
The following commit(s) were added to refs/heads/main by this push:
new ee3bd2e20 docs: Fix macro name for exporting ADBC driver in README
(#3493)
ee3bd2e20 is described below
commit ee3bd2e20be69b8dc57e93d3636b427ba26fcc0f
Author: Kristin Cowalcijk <[email protected]>
AuthorDate: Wed Oct 1 20:40:20 2025 +0800
docs: Fix macro name for exporting ADBC driver in README (#3493)
The driver exporter has been moved from `adbc_core` to `adbc_ffi` in
https://github.com/apache/arrow-adbc/pull/3381; however, the README
remains unchanged. I found this discrepancy when upgrading the
`adbc_core` dependency of
[SedonaDB](https://github.com/apache/sedona-db). This out-dated
information also appears in https://crates.io/crates/adbc_core and made
me frustrated, so I decided to submit a PR containing this very tiny
fix.
---
rust/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rust/README.md b/rust/README.md
index e67b5eab4..3cc669575 100644
--- a/rust/README.md
+++ b/rust/README.md
@@ -49,6 +49,6 @@ To write an ADBC driver in Rust you have to:
1. Create a new library crate with `crate-type = ["lib", "cdylib"]`.
1. Implement the abstract API which consists of the traits `Driver`,
`Database`, `Connection` and `Statement`.
-1. Export your driver to C with the macro `adbc_core::export_driver!`.
+1. Export your driver to C with the macro `adbc_ffi::export_driver!`.
The resulting object file can then be loaded by other languages through their
own driver manager.