From bad5259f43a0c9b2ffaf48ed8f5425dea86fa116 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 29 Apr 2025 03:32:59 +0800 Subject: [PATCH] base64 should be an optional dependency in std otherwise the loader breaks --- libs/ux-api/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/ux-api/Cargo.toml b/libs/ux-api/Cargo.toml index b63629e4e..df983a2ee 100644 --- a/libs/ux-api/Cargo.toml +++ b/libs/ux-api/Cargo.toml @@ -28,7 +28,7 @@ hex = { version = "0.4.3", default-features = false, features = [ ], optional = true } sha2 = { version = "0.10.8", optional = true } digest = { version = "0.9.0", optional = true } -base64 = "0.5.2" +base64 = { version = "0.5.2", optional = true } [features] # various feature gates - recommended to be selective about these because @@ -76,6 +76,7 @@ std = [ "hex", "sha2", "digest", + "base64", "xous-names", ] default = ["std", "default-widgets"]