mirror of
https://github.com/edg-l/sitewriter.git
synced 2024-09-19 01:02:26 +00:00
update deps
This commit is contained in:
parent
ca1b00b469
commit
5b553831ca
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "sitewriter"
|
||||
version = "1.0.3"
|
||||
version = "1.0.4"
|
||||
authors = ["Edgar <git@edgarluque.com>"]
|
||||
edition = "2021"
|
||||
description = "A sitemap writing library."
|
||||
|
@ -16,7 +16,7 @@ resolver = "2"
|
|||
chrono = { version = "0.4.31", default-features = false, features = ["std", "clock"] }
|
||||
derive_builder = "0.12.0"
|
||||
quick-xml = { version = "0.31.0", default-features = false }
|
||||
url = "2.4"
|
||||
url = "2.5.0"
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = { version = "0.5.1", features = ["html_reports"] }
|
||||
|
|
|
@ -69,7 +69,6 @@
|
|||
#![deny(missing_docs)]
|
||||
#![deny(warnings)]
|
||||
#![deny(clippy::nursery)]
|
||||
#![deny(clippy::pedantic)]
|
||||
#![deny(clippy::all)]
|
||||
|
||||
use chrono::{DateTime, SecondsFormat, Utc};
|
||||
|
@ -189,9 +188,7 @@ where
|
|||
writer.write_event(Event::Start(urlset))?;
|
||||
|
||||
for entry in urls {
|
||||
writer
|
||||
.write_event(Event::Start(BytesStart::new("url")))
|
||||
.expect("error opening url");
|
||||
writer.write_event(Event::Start(BytesStart::new("url")))?;
|
||||
|
||||
write_tag(&mut writer, "loc", entry.loc.as_str())?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue