diff --git a/plugins/authenticator/Cargo.toml b/plugins/authenticator/Cargo.toml index 7ee8fb22..c3ca03ca 100644 --- a/plugins/authenticator/Cargo.toml +++ b/plugins/authenticator/Cargo.toml @@ -15,6 +15,8 @@ serde_json = { workspace = true } tauri = { workspace = true } log = { workspace = true } thiserror = { workspace = true } + +[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies] authenticator = "0.3.1" once_cell = "1" sha2 = "0.10" diff --git a/plugins/authenticator/src/lib.rs b/plugins/authenticator/src/lib.rs index ef889e21..e1b488e0 100644 --- a/plugins/authenticator/src/lib.rs +++ b/plugins/authenticator/src/lib.rs @@ -2,6 +2,8 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: MIT +#![cfg(not(any(target_os = "android", target_os = "ios")))] + mod auth; mod error; mod u2f;