summaryrefslogtreecommitdiffstats
path: root/src/stanza/mod.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-10-21 01:28:54 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2023-10-21 01:28:54 +0100
commite893869df974ebb7afcc318119840c53f8f377cb (patch)
tree3319dba477784c126011acc5422c9973782f7850 /src/stanza/mod.rs
parentba94ee66fafbabd63d6d1ed5edf435d4c46c6796 (diff)
downloadluz-e893869df974ebb7afcc318119840c53f8f377cb.tar.gz
luz-e893869df974ebb7afcc318119840c53f8f377cb.tar.bz2
luz-e893869df974ebb7afcc318119840c53f8f377cb.zip
implement connection
Diffstat (limited to 'src/stanza/mod.rs')
-rw-r--r--src/stanza/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stanza/mod.rs b/src/stanza/mod.rs
index c5a6da3..e4f080f 100644
--- a/src/stanza/mod.rs
+++ b/src/stanza/mod.rs
@@ -8,4 +8,6 @@ pub mod stream;
use quick_xml::events::{BytesDecl, Event};
-pub static DECLARATION: Event = Event::Decl(BytesDecl::new("1.0", None, None));
+lazy_static! {
+ pub static ref DECLARATION: Event<'static> = Event::Decl(BytesDecl::new("1.0", None, None));
+}