mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-09-08 04:58:16 +00:00
93cd71eb72
this replace previous cleanup which remove space between `element` and `attribute` name in xml
30 lines
429 B
Rust
30 lines
429 B
Rust
#[macro_use]
|
|
extern crate tracing;
|
|
|
|
pub mod api_server;
|
|
pub mod error;
|
|
|
|
mod bucket;
|
|
mod copy;
|
|
pub mod cors;
|
|
mod delete;
|
|
pub mod get;
|
|
mod lifecycle;
|
|
mod list;
|
|
mod multipart;
|
|
mod post_object;
|
|
mod put;
|
|
pub mod website;
|
|
|
|
mod encryption;
|
|
mod router;
|
|
pub mod xml;
|
|
|
|
#[cfg(test)]
|
|
pub(crate) fn unprettify_xml(xml_in: &str) -> String {
|
|
xml_in.trim().lines().fold(String::new(), |mut val, line| {
|
|
val.push_str(line.trim());
|
|
val
|
|
})
|
|
}
|