#[unsafe(no_mangle)]pub unsafe extern "C" fn pio_has_feature(
feature: *const c_char,
) -> i32Expand description
Whether an optional build feature is compiled in: pass "arrow", "gridfm",
"dist", or "pkg". Returns 1 if present, 0 otherwise (and 0 for a NULL or
unknown name). The optional surfaces (pio_to_arrow, the pio_read_dir/
gridfm path, the pio_dist_* block, and the pio_package_* block) are only
linked when their feature is built, so a consumer that loaded the library at
runtime probes for them here instead of resolving symbols blind. Feature
names are strings like format names, so a new feature never changes this
signature. Infallible.