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