mirror of
https://github.com/edg-l/sitewriter.git
synced 2024-09-19 01:02:26 +00:00
upd deps
This commit is contained in:
parent
bcdaed253d
commit
fd9e34d061
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "sitewriter"
|
||||
version = "0.5.4"
|
||||
version = "0.5.5"
|
||||
authors = ["Edgar <git@edgarluque.com>"]
|
||||
edition = "2021"
|
||||
description = "A sitemap writing library."
|
||||
|
@ -12,9 +12,9 @@ keywords = ["sitemap", "sitemapindex", "xml", "parser"]
|
|||
categories = ["parsing"]
|
||||
|
||||
[dependencies]
|
||||
chrono = "0.4.22"
|
||||
derive_builder = "0.11.2"
|
||||
quick-xml = "0.26.0"
|
||||
chrono = "0.4.23"
|
||||
derive_builder = "0.12.0"
|
||||
quick-xml = "0.27.1"
|
||||
url = "2.3.1"
|
||||
|
||||
[dev-dependencies]
|
||||
|
|
|
@ -23,7 +23,7 @@ fn main() {
|
|||
loc: "https://edgarluque.com/blog/sitewriter".parse().unwrap(),
|
||||
changefreq: Some(ChangeFreq::Never),
|
||||
priority: Some(0.5),
|
||||
lastmod: Some(Utc.ymd(2020, 11, 22).and_hms(15, 10, 15)),
|
||||
lastmod: Some(Utc.with_ymd_and_hms(2020, 12, 5, 15, 30, 0).unwrap()),
|
||||
},
|
||||
UrlEntry {
|
||||
loc: "https://edgarluque.com/blog/some-future-post"
|
||||
|
@ -31,9 +31,7 @@ fn main() {
|
|||
.unwrap(),
|
||||
changefreq: Some(ChangeFreq::Never),
|
||||
priority: Some(0.5),
|
||||
lastmod: Some(
|
||||
Utc.from_utc_datetime(&Local.ymd(2020, 12, 5).and_hms(12, 30, 0).naive_utc()),
|
||||
),
|
||||
lastmod: Some(Utc.with_ymd_and_hms(2020, 12, 5, 12, 30, 0).unwrap()),
|
||||
},
|
||||
// Entity escaping
|
||||
UrlEntry {
|
||||
|
@ -42,9 +40,7 @@ fn main() {
|
|||
.unwrap(),
|
||||
changefreq: Some(ChangeFreq::Never),
|
||||
priority: Some(0.5),
|
||||
lastmod: Some(
|
||||
Utc.from_utc_datetime(&Local.ymd(2020, 12, 5).and_hms(12, 30, 0).naive_utc()),
|
||||
),
|
||||
lastmod: Some(Utc.with_ymd_and_hms(2020, 12, 5, 12, 30, 0).unwrap()),
|
||||
},
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue