From a020861e3343a858dd54112114fe757fce2e910c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 15 Nov 2024 17:57:31 +0100 Subject: [PATCH] `hostmeta`: Make the root element use the XRD 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 0e89c1d..f7c80e6 100644 --- a/acrate-hostmeta/src/xrd.rs +++ b/acrate-hostmeta/src/xrd.rs @@ -9,6 +9,7 @@ use crate::jrd::{ResourceDescriptorJRD, ResourceDescriptorLinkJRD}; /// - /// - #[derive(Debug, Clone, Serialize, Deserialize)] +#[serde(rename = "XRD")] pub struct ResourceDescriptorXRD { /// The resource this document refers to. ///