diff --git a/src/ser/mod.rs b/src/ser/mod.rs index 8130a8d..591abc6 100644 --- a/src/ser/mod.rs +++ b/src/ser/mod.rs @@ -87,7 +87,7 @@ impl Serializer where W: Write, { - fn new_from_writer(writer: EventWriter) -> Self { + pub fn new_from_writer(writer: EventWriter) -> Self { Self { writer, root: true,