Enable WebP SIMD for Windows builds.
Some checks failed
Tagged release / prepare-release (push) Successful in 2m53s
Tagged release / build-macos (push) Failing after 25m20s
Tagged release / build-linux-arm64 (push) Successful in 35m45s
Tagged release / build-linux-x64 (push) Failing after 16s
Tagged release / build-windows (push) Failing after 26m8s
Tagged release / publish-release (push) Has been skipped
Some checks failed
Tagged release / prepare-release (push) Successful in 2m53s
Tagged release / build-macos (push) Failing after 25m20s
Tagged release / build-linux-arm64 (push) Successful in 35m45s
Tagged release / build-linux-x64 (push) Failing after 16s
Tagged release / build-windows (push) Failing after 26m8s
Tagged release / publish-release (push) Has been skipped
This commit is contained in:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -1148,6 +1148,7 @@ dependencies = [
|
|||||||
"image",
|
"image",
|
||||||
"keyring",
|
"keyring",
|
||||||
"libsqlite3-sys",
|
"libsqlite3-sys",
|
||||||
|
"libwebp-sys",
|
||||||
"liquid",
|
"liquid",
|
||||||
"liquid-core",
|
"liquid-core",
|
||||||
"md5 0.8.1",
|
"md5 0.8.1",
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ futures = "0.3"
|
|||||||
image = "0.25"
|
image = "0.25"
|
||||||
hpvcd = "0.3.1"
|
hpvcd = "0.3.1"
|
||||||
webp = { version = "0.3.1", default-features = false }
|
webp = { version = "0.3.1", default-features = false }
|
||||||
|
libwebp-sys = { version = "0.9.6", default-features = false }
|
||||||
rust-stemmers = "1"
|
rust-stemmers = "1"
|
||||||
sys-locale = "0.3"
|
sys-locale = "0.3"
|
||||||
fluent-bundle = "0.16"
|
fluent-bundle = "0.16"
|
||||||
|
|||||||
@@ -50,6 +50,11 @@ ort = { workspace = true }
|
|||||||
[target.'cfg(target_os = "macos")'.dependencies]
|
[target.'cfg(target_os = "macos")'.dependencies]
|
||||||
usearch = { workspace = true }
|
usearch = { workspace = true }
|
||||||
|
|
||||||
|
[target.'cfg(target_os = "windows")'.dependencies]
|
||||||
|
# libwebp's MSVC autodetection enables SSE 4.1 sources, so clang-cl must
|
||||||
|
# compile them with the matching target feature during cargo-xwin builds.
|
||||||
|
libwebp-sys = { workspace = true, features = ["sse41"] }
|
||||||
|
|
||||||
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
||||||
usearch = { workspace = true, features = ["numkong"] }
|
usearch = { workspace = true, features = ["numkong"] }
|
||||||
|
|
||||||
@@ -57,4 +62,4 @@ usearch = { workspace = true, features = ["numkong"] }
|
|||||||
tempfile = "3"
|
tempfile = "3"
|
||||||
|
|
||||||
[package.metadata.cargo-machete]
|
[package.metadata.cargo-machete]
|
||||||
ignored = ["libsqlite3-sys"]
|
ignored = ["libsqlite3-sys", "libwebp-sys"]
|
||||||
|
|||||||
@@ -61,10 +61,16 @@ fn desktop_packages_have_native_icons_and_cargo_commands() {
|
|||||||
assert!(workspace_manifest.contains("strip = \"symbols\""));
|
assert!(workspace_manifest.contains("strip = \"symbols\""));
|
||||||
assert!(workspace_manifest.contains("ort-download-binaries-rustls-tls"));
|
assert!(workspace_manifest.contains("ort-download-binaries-rustls-tls"));
|
||||||
assert!(workspace_manifest.contains("\"sync-secret-service\", \"vendored\""));
|
assert!(workspace_manifest.contains("\"sync-secret-service\", \"vendored\""));
|
||||||
|
assert!(
|
||||||
|
workspace_manifest
|
||||||
|
.contains("libwebp-sys = { version = \"0.9.6\", default-features = false }")
|
||||||
|
);
|
||||||
|
|
||||||
let core_manifest =
|
let core_manifest =
|
||||||
fs::read_to_string(Path::new(CRATE_DIR).join("../bds-core/Cargo.toml")).unwrap();
|
fs::read_to_string(Path::new(CRATE_DIR).join("../bds-core/Cargo.toml")).unwrap();
|
||||||
assert!(core_manifest.contains("crate-type = [\"dylib\"]"));
|
assert!(core_manifest.contains("crate-type = [\"dylib\"]"));
|
||||||
|
assert!(core_manifest.contains("[target.'cfg(target_os = \"windows\")'.dependencies]"));
|
||||||
|
assert!(core_manifest.contains("libwebp-sys = { workspace = true, features = [\"sse41\"] }"));
|
||||||
let server_manifest =
|
let server_manifest =
|
||||||
fs::read_to_string(Path::new(CRATE_DIR).join("../bds-server/Cargo.toml")).unwrap();
|
fs::read_to_string(Path::new(CRATE_DIR).join("../bds-server/Cargo.toml")).unwrap();
|
||||||
assert!(server_manifest.contains("crate-type = [\"dylib\"]"));
|
assert!(server_manifest.contains("crate-type = [\"dylib\"]"));
|
||||||
|
|||||||
Reference in New Issue
Block a user