Skip to main content

oliphaunt_tools/
lib.rs

1#![deny(unsafe_code)]
2
3/// Product id for the native PostgreSQL client tools artifact family.
4pub const PRODUCT: &str = "oliphaunt-tools";
5
6/// Artifact kind relayed by this facade crate.
7pub const KIND: &str = "native-tools";
8
9// Generated release-only native target guard.
10#[cfg(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"))))]
11compile_error!("oliphaunt-tools supports only linux-arm64-gnu, linux-x64-gnu, macos-arm64, windows-x64-msvc; use one of these declared native targets; this package has no portable fallback.");