Skip to main content

oliphaunt_extension_postgis/
lib.rs

1#![forbid(unsafe_code)]
2
3#[cfg(all(feature = "native", not(any(all(target_os = "linux", target_arch = "aarch64", target_env = "gnu"), all(target_os = "linux", target_arch = "x86_64", target_env = "gnu"), all(target_os = "macos", target_arch = "aarch64"), all(target_os = "windows", target_arch = "x86_64", target_env = "msvc")))))]
4compile_error!("oliphaunt-extension-postgis's default native feature supports only linux-arm64-gnu, linux-x64-gnu, macos-arm64, windows-x64-msvc; use default-features = false with feature \"wasix\" or a declared \"wasix-aot-*\" feature on other targets.");
5
6pub const PRODUCT: &str = "oliphaunt-extension-postgis";
7pub const VERSION: &str = env!("CARGO_PKG_VERSION");
8pub const EXTENSION_SQL_NAMES: &[&str] = &["postgis"];
9pub const EXTENSION_SQL_NAME: &str = "postgis";