Unverified Commit 68f174f6 authored by Nugine's avatar Nugine Committed by GitHub
Browse files

feat(s3s): export xml module (#189)

parent a030b3ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,6 @@ mod s3_op;
mod s3_trait;
mod sig_v2;
mod sig_v4;
mod xml;

pub mod access;
pub mod auth;
@@ -45,6 +44,7 @@ pub mod host;
pub mod path;
pub mod service;
pub mod stream;
pub mod xml;

pub use self::error::*;
pub use self::http::Body;
+2 −0
Original line number Diff line number Diff line
#![allow(clippy::missing_errors_doc)] // TODO

mod de;
pub use self::de::*;

+1 −0
Original line number Diff line number Diff line
@@ -115,6 +115,7 @@ impl<W: Write> Serializer<W> {
        self.event(Event::Decl(BytesDecl::new("1.0", Some("UTF-8"), None)))
    }

    #[allow(clippy::missing_panics_doc)]
    pub fn timestamp(&mut self, name: &str, val: &Timestamp, fmt: TimestampFormat) -> SerResult {
        fmt_timestamp(val, fmt, |b| self.content(name, str::from_ascii_simd(b).unwrap()))
    }