From 49b1b8ba6567019c05165f452978abc8b0ae9445 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 15 Nov 2024 18:10:39 +0100 Subject: [PATCH] `hostmeta`: Fix value being wrapped in a tag --- acrate-hostmeta/src/xrd.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/acrate-hostmeta/src/xrd.rs b/acrate-hostmeta/src/xrd.rs index ef92cb4..546eb2d 100644 --- a/acrate-hostmeta/src/xrd.rs +++ b/acrate-hostmeta/src/xrd.rs @@ -137,6 +137,7 @@ pub struct ResourceDescriptorPropertyXRD { pub r#type: String, /// The property value. + #[serde(rename = "$text")] pub value: Option, }