Skip to content

Commit ee3bd2e

Browse files
authored
docs: Fix macro name for exporting ADBC driver in README (#3493)
The driver exporter has been moved from `adbc_core` to `adbc_ffi` in #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.
1 parent 0850784 commit ee3bd2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ To write an ADBC driver in Rust you have to:
4949

5050
1. Create a new library crate with `crate-type = ["lib", "cdylib"]`.
5151
1. Implement the abstract API which consists of the traits `Driver`, `Database`, `Connection` and `Statement`.
52-
1. Export your driver to C with the macro `adbc_core::export_driver!`.
52+
1. Export your driver to C with the macro `adbc_ffi::export_driver!`.
5353

5454
The resulting object file can then be loaded by other languages through their own driver manager.

0 commit comments

Comments
 (0)