aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index e5086bc..9cf3716 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,6 +1,6 @@
//! XML is awful.
#![deny(clippy::all, clippy::pedantic, unsafe_code, missing_docs)]
-use crate::deserializer::{Deserializer, Error as DeserializerError};
+use crate::deserializer::{Deserializer, Error as DeserializerError, MaybeStatic};
use crate::tagged::TagStart;
pub mod attribute;
@@ -8,9 +8,10 @@ pub mod deserializer;
pub mod tagged;
mod event;
+mod util;
/// Trait implemented by types that want to be deserializable from tagged XML elements.
-pub trait DeserializeTagged: Sized
+pub trait DeserializeTagged: Sized + MaybeStatic
{
/// Error type.
type Error: std::error::Error + Send + Sync + 'static;