The distro-based libvips contains a dynamic version.
To statically link, vips-sys needs to download the code & dependencies and compile on its own.
Dynamic vs Static Flag
Method1: Cargo.toml feature flag (clean, but cannot turn off)
Method2: env (easy to override)
Reference
https://kornel.ski/rust-sys-crate
The distro-based libvips contains a dynamic version.
To statically link, vips-sys needs to download the code & dependencies and compile on its own.
Dynamic vs Static Flag
Method1: Cargo.toml feature flag (clean, but cannot turn off)
Method2: env (easy to override)
Reference
https://kornel.ski/rust-sys-crate