aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2022-05-14 19:56:06 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2022-05-14 19:56:06 +0200
commite964ec8f74b644d66ca166a7524adcc3a82709c9 (patch)
treeb1a87d6a1333ae87fda5121b1993a050079afa43 /Cargo.toml
parent16ef06ffb363b6304d0d5269b30dedbdd07288df (diff)
downloadmacroblog.rs-e964ec8f74b644d66ca166a7524adcc3a82709c9.tar.gz
macroblog.rs-e964ec8f74b644d66ca166a7524adcc3a82709c9.tar.bz2
macroblog.rs-e964ec8f74b644d66ca166a7524adcc3a82709c9.zip
feat: Move code to blog
- Move most logic of the blog to blog.rs, making it easier to test. - Now the file contains the creation date of the blog post to be parsed. - Add chrono to parse datetime, so later we can order by date. - Refactor gitlab pipeline, move `before_script` to a proper place.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml7
1 files changed, 4 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index de00d11..a241371 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,7 +8,8 @@ sailfish = "0.4.0"
hyper = { version = "0.14", features = ["full"] }
tokio = { version = "1", features = ["full"] }
regex = "1.5"
-rust-embed="6.4.0"
+rust-embed = "6.4.0"
+chrono = "0.4"
[profile.release]
opt-level = 'z'
@@ -18,5 +19,5 @@ panic = 'abort'
strip = true
[lib]
-name="router"
-path="src/router.rs"
+name="macroblog"
+path="src/lib.rs"