| Crates.io | adbc-driver-flightsql |
| lib.rs | adbc-driver-flightsql |
| version | 0.1.2 |
| created_at | 2025-11-12 08:50:59.561734+00 |
| updated_at | 2025-11-14 10:42:25.849407+00 |
| description | ADBC FlightSQL driver native library distribution for Rust |
| homepage | |
| repository | https://github.com/swanlake-io/adbc-driver-flightsql |
| max_upload_size | |
| id | 1928971 |
| size | 82,164 |
adbc-driver-flightsql ships the native ADBC FlightSQL driver from the conda-forge
distribution and exposes a stable filesystem path for Rust applications. The crate
handles platform detection, download, extraction, and version reporting during
cargo build, so consuming projects only need a single constant.
libadbc-driver-flightsql conda artifact for the active targetDRIVER_PATH and DRIVER_VERSION[dependencies]
adbc-driver-flightsql = "0.1.1"
use adbc_core::options::AdbcVersion;
use adbc_driver_flightsql::{DRIVER_PATH, DRIVER_VERSION};
use adbc_driver_manager::ManagedDriver;
let driver = ManagedDriver::load_dynamic_from_filename(
DRIVER_PATH,
None,
AdbcVersion::default(),
).expect("load FlightSQL driver");
println!("FlightSQL driver version: {DRIVER_VERSION}");
The build script downloads the official PyPI wheel (adbc-driver-flightsql) for the active
target. Version 1.9.0 is used by default across all platforms, and developers can
override the behavior with:
ADBC_FLIGHTSQL_VERSION – desired PyPI version (e.g. 1.9.0)ADBC_FLIGHTSQL_LIB_PATH – custom filesystem path (directory or full file path) to copy the library to (e.g. /usr/local/lib/ or /usr/local/lib/libadbc_driver_flightsql.so)The resolved version is exported to consuming crates through the DRIVER_VERSION constant.
x86_64-unknown-linux-gnuaarch64-unknown-linux-gnux86_64-apple-darwinaarch64-apple-darwinx86_64-pc-windows-msvcLicensed under Apache-2.0