diff --git a/v2/Cargo.toml b/v2/Cargo.toml index 8339190f..3e6be53c 100644 --- a/v2/Cargo.toml +++ b/v2/Cargo.toml @@ -97,7 +97,6 @@ tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] } # Signal processing ndarray = { version = "0.17", features = ["serde"] } -ndarray-linalg = { version = "0.18", features = ["openblas-static"] } rustfft = "6.1" num-complex = "0.4" num-traits = "0.2" diff --git a/v2/crates/wifi-densepose-desktop/gen/schemas/windows-schema.json b/v2/crates/wifi-densepose-desktop/gen/schemas/windows-schema.json index fcf88e0f..634faec4 100644 --- a/v2/crates/wifi-densepose-desktop/gen/schemas/windows-schema.json +++ b/v2/crates/wifi-densepose-desktop/gen/schemas/windows-schema.json @@ -2355,22 +2355,22 @@ "markdownDescription": "Denies the unminimize command without any pre-configured scope." }, { - "description": "This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n\n#### This default permission set includes:\n\n- `allow-ask`\n- `allow-confirm`\n- `allow-message`\n- `allow-save`\n- `allow-open`", + "description": "This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n\n#### This default permission set includes:\n\n- `allow-message`\n- `allow-save`\n- `allow-open`", "type": "string", "const": "dialog:default", - "markdownDescription": "This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n\n#### This default permission set includes:\n\n- `allow-ask`\n- `allow-confirm`\n- `allow-message`\n- `allow-save`\n- `allow-open`" + "markdownDescription": "This permission set configures the types of dialogs\navailable from the dialog plugin.\n\n#### Granted Permissions\n\nAll dialog types are enabled.\n\n\n\n#### This default permission set includes:\n\n- `allow-message`\n- `allow-save`\n- `allow-open`" }, { - "description": "Enables the ask command without any pre-configured scope.", + "description": "Enables the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)", "type": "string", "const": "dialog:allow-ask", - "markdownDescription": "Enables the ask command without any pre-configured scope." + "markdownDescription": "Enables the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)" }, { - "description": "Enables the confirm command without any pre-configured scope.", + "description": "Enables the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)", "type": "string", "const": "dialog:allow-confirm", - "markdownDescription": "Enables the confirm command without any pre-configured scope." + "markdownDescription": "Enables the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `allow-message` and will be removed in v3)" }, { "description": "Enables the message command without any pre-configured scope.", @@ -2391,16 +2391,16 @@ "markdownDescription": "Enables the save command without any pre-configured scope." }, { - "description": "Denies the ask command without any pre-configured scope.", + "description": "Denies the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)", "type": "string", "const": "dialog:deny-ask", - "markdownDescription": "Denies the ask command without any pre-configured scope." + "markdownDescription": "Denies the ask command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)" }, { - "description": "Denies the confirm command without any pre-configured scope.", + "description": "Denies the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)", "type": "string", "const": "dialog:deny-confirm", - "markdownDescription": "Denies the confirm command without any pre-configured scope." + "markdownDescription": "Denies the confirm command without any pre-configured scope. (**DEPRECATED**: This is now an alias to `deny-message` and will be removed in v3)" }, { "description": "Denies the message command without any pre-configured scope.", diff --git a/v2/crates/wifi-densepose-signal/Cargo.toml b/v2/crates/wifi-densepose-signal/Cargo.toml index 4294c4a1..2ec56449 100644 --- a/v2/crates/wifi-densepose-signal/Cargo.toml +++ b/v2/crates/wifi-densepose-signal/Cargo.toml @@ -15,7 +15,7 @@ readme = "README.md" default = ["eigenvalue"] ## Enable eigenvalue-based person counting (requires BLAS via ndarray-linalg). ## Disable with --no-default-features to use the diagonal fallback instead. -eigenvalue = ["ndarray-linalg"] +eigenvalue = ["dep:ndarray-linalg"] [dependencies] # Core utilities @@ -26,7 +26,7 @@ chrono = { version = "0.4", features = ["serde"] } # Signal processing ndarray = { workspace = true } -ndarray-linalg = { workspace = true, optional = true } +ndarray-linalg = { version = "0.18", optional = true, default-features = false } rustfft.workspace = true num-complex.workspace = true num-traits.workspace = true @@ -59,3 +59,9 @@ harness = false [[bench]] name = "aether_prefilter_bench" harness = false + +[target.'cfg(windows)'.dependencies] +ndarray-linalg = { version = "0.18", features = ["openblas-system"] } + +[target.'cfg(not(windows))'.dependencies] +ndarray-linalg = { version = "0.18", features = ["openblas-static"] }