Problem Statement
Two parse_uuid implementations exist with the same signature:
The hardware plugin does not depend on jan_utils, so it cannot use the shared version. The shared version has zero external callers — only its own tests. Effectively, the jan_utils copy is dead code.
Feature Idea
Pick one of two equally small options (either is fine; I recommend option A unless there is an existing plan to pull jan_utils into tauri-plugin-hardware):
Option A — delete the dead helper:
- Delete
parse_uuid and the three #[test] cases (test_parse_uuid*) from src-tauri/utils/src/string.rs.
- Run
cargo check / cargo test -p jan_utils.
Option B — use the shared helper:
- Add
jan-utils = { path = "../../../utils" } to tauri-plugin-hardware/Cargo.toml.
- Replace the local
parse_uuid in vulkan.rs with use jan_utils::string::parse_uuid;.
- Delete the plugin's local copy.
Problem Statement
Two
parse_uuidimplementations exist with the same signature:pub fn parse_uuid(bytes: &[u8; 16]) -> Stringinjan_utils.fn parse_uuid(bytes: &[u8; 16]) -> Stringlocal to the hardware plugin.The hardware plugin does not depend on
jan_utils, so it cannot use the shared version. The shared version has zero external callers — only its own tests. Effectively, thejan_utilscopy is dead code.Feature Idea
Pick one of two equally small options (either is fine; I recommend option A unless there is an existing plan to pull
jan_utilsintotauri-plugin-hardware):Option A — delete the dead helper:
parse_uuidand the three#[test]cases (test_parse_uuid*) from src-tauri/utils/src/string.rs.cargo check/cargo test -p jan_utils.Option B — use the shared helper:
jan-utils = { path = "../../../utils" }totauri-plugin-hardware/Cargo.toml.parse_uuidinvulkan.rswithuse jan_utils::string::parse_uuid;.