diff --git a/blurthing/Cargo.toml b/blurthing/Cargo.toml index 86aa400..bb6c34a 100644 --- a/blurthing/Cargo.toml +++ b/blurthing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "blurthing" -version = "1.3.1" +version = "1.3.2" edition = "2021" authors = ["Tommaso Dimatore "] description = "Simplify the process of computing BlurHashes from images." diff --git a/blurthing/build.rs b/blurthing/build.rs new file mode 100644 index 0000000..6f6e3c5 --- /dev/null +++ b/blurthing/build.rs @@ -0,0 +1,3 @@ +fn main() { + println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=10.12"); +} diff --git a/xtask/src/bundle.rs b/xtask/src/bundle.rs index 2c3abe0..95548b9 100644 --- a/xtask/src/bundle.rs +++ b/xtask/src/bundle.rs @@ -110,6 +110,7 @@ fn macos_settings(workspace_dir: &Path) -> MacOsSettings { let license_path = workspace_dir.join("assets").join(LICENSE_FILE); MacOsSettings { + minimum_system_version: Some("10.12".into()), // MACOSX_DEPLOYMENT_TARGET - blurthing/build.rs license: Some(license_path.to_string_lossy().into()), signing_identity: Some("-".into()), // ad-hoc signing ..Default::default()