diff --git a/.gitignore b/.gitignore index f845a9b..7457135 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /target Cargo.lock -static/en/**.html +static/en/index* +static/en/*/* +static/en/**.xml diff --git a/Cargo.lock b/Cargo.lock index 3eacc23..21b3e17 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,6 +2,19 @@ # It is not intended for manual editing. version = 3 +[[package]] +name = "atom_syndication" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21fb6a0b39c6517edafe46f8137e53c51742425a4dae1c73ee12264a37ad7541" +dependencies = [ + "chrono", + "derive_builder", + "diligent-date-parser", + "never", + "quick-xml", +] + [[package]] name = "autocfg" version = "1.0.1" @@ -71,6 +84,7 @@ dependencies = [ "bincode", "build_html", "chrono", + "rss", "serde", "serde_derive", "sled", @@ -109,6 +123,96 @@ dependencies = [ "lazy_static", ] +[[package]] +name = "darling" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f2c43f534ea4b0b049015d00269734195e6d3f0f6635cb692251aca6f9f8b3c" +dependencies = [ + "darling_core", + "darling_macro", +] + +[[package]] +name = "darling_core" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8e91455b86830a1c21799d94524df0845183fa55bafd9aa137b01c7d1065fa36" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn", +] + +[[package]] +name = "darling_macro" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29b5acf0dea37a7f66f7b25d2c5e93fd46f8f6968b1a5d7a3e02e97768afc95a" +dependencies = [ + "darling_core", + "quote", + "syn", +] + +[[package]] +name = "derive_builder" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d13202debe11181040ae9063d739fa32cfcaaebe2275fe387703460ae2365b30" +dependencies = [ + "derive_builder_macro", +] + +[[package]] +name = "derive_builder_core" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66e616858f6187ed828df7c64a6d71720d83767a7f19740b2d1b6fe6327b36e5" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "derive_builder_macro" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58a94ace95092c5acb1e97a7e846b310cfbd499652f72297da7493f618a98d73" +dependencies = [ + "derive_builder_core", + "syn", +] + +[[package]] +name = "diligent-date-parser" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2d0fd95c7c02e2d6c588c6c5628466fff9bdde4b8c6196465e087b08e792720" +dependencies = [ + "chrono", +] + +[[package]] +name = "encoding_rs" +version = "0.8.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7896dc8abb250ffdda33912550faa54c88ec8b998dec0b2c55ab224921ce11df" +dependencies = [ + "cfg-if", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + [[package]] name = "fs2" version = "0.4.3" @@ -139,6 +243,12 @@ dependencies = [ "wasi", ] +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + [[package]] name = "instant" version = "0.1.12" @@ -187,6 +297,12 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "memchr" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a" + [[package]] name = "memoffset" version = "0.6.5" @@ -196,6 +312,12 @@ dependencies = [ "autocfg", ] +[[package]] +name = "never" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c96aba5aa877601bb3f6dd6a63a969e1f82e60646e81e71b14496995e9853c91" + [[package]] name = "num-integer" version = "0.1.44" @@ -255,6 +377,16 @@ dependencies = [ "unicode-xid", ] +[[package]] +name = "quick-xml" +version = "0.22.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8533f14c8382aaad0d592c812ac3b826162128b65662331e1127b45c3d18536b" +dependencies = [ + "encoding_rs", + "memchr", +] + [[package]] name = "quote" version = "1.0.15" @@ -313,6 +445,18 @@ dependencies = [ "bitflags", ] +[[package]] +name = "rss" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "36e19e299f301be17927a7c05b8fa1c621e3227e6c3a0da65492701642901ff7" +dependencies = [ + "atom_syndication", + "derive_builder", + "never", + "quick-xml", +] + [[package]] name = "scopeguard" version = "1.1.0" @@ -362,6 +506,12 @@ version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83" +[[package]] +name = "strsim" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" + [[package]] name = "syn" version = "1.0.86" diff --git a/static/en/another-one!/index.html b/static/en/another-one!/index.html index 2cade29..94c20d2 100644 --- a/static/en/another-one!/index.html +++ b/static/en/another-one!/index.html @@ -1 +1 @@ -Catgirl Cooking

Another One!


Ingredients:

Directions:

  1. prepare ingredients

  2. cook it

Author:

Erin

\ No newline at end of file +Catgirl Cooking

Another One!


Ingredients:

Directions:

  1. prepare ingredients

  2. cook it

Misc.

Author: Erin

Tags: no tags!! :o

Recipe added on: 2022-1-23

No edits

\ No newline at end of file diff --git a/static/en/full-recipe/index.html b/static/en/full-recipe/index.html index 2c33684..eba900b 100644 --- a/static/en/full-recipe/index.html +++ b/static/en/full-recipe/index.html @@ -1 +1 @@ -Catgirl Cooking

Full Recipe


Ingredients:

Directions:

  1. Mix flour and sugar in a bowl

  2. Slowly add water

  3. Bake in the oven for 4 hours

Author:

Erin Nova

\ No newline at end of file +Catgirl Cooking

Full Recipe


Ingredients:

Directions:

  1. Mix flour and sugar in a bowl

  2. Slowly add water

  3. Bake in the oven for 4 hours

Misc.

Author: Erin Nova

Tags: #meow,#gay

Recipe added on: 2022-1-23

No edits

\ No newline at end of file diff --git a/static/en/index.html b/static/en/index.html index cb25b77..a7e36b7 100644 --- a/static/en/index.html +++ b/static/en/index.html @@ -1 +1 @@ -Catgirl Cooking

🥘 Catgirl Cooking


The cutest cooking site on the net :3

Absolutely no ads, tracking, or nazis, ever.

Tags: breakfast,apples,cheese,vegan,vegetarian,

Recipes:


homeatom

Software licensed under the CNPLv7+

Recipes under Public Domain

\ No newline at end of file +Catgirl Cooking

🥘 Catgirl Cooking


The cutest cooking site on the net :3

Absolutely no ads, tracking, or nazis, ever.

Tags: breakfast,apples,cheese,vegan,vegetarian,

Recipes:


homerss

Software licensed under the CNPLv7+

Recipes under Public Domain

\ No newline at end of file diff --git a/static/en/recipe-test/index.html b/static/en/recipe-test/index.html index 3a40cf2..3731161 100644 --- a/static/en/recipe-test/index.html +++ b/static/en/recipe-test/index.html @@ -1 +1 @@ -Catgirl Cooking

Recipe Test


Ingredients:

Directions:

  1. prepare ingredients

  2. cook it

  3. meow

Author:

Erin

\ No newline at end of file +Catgirl Cooking

Recipe Test


Ingredients:

Directions:

  1. prepare ingredients

  2. cook it

  3. meow

Misc.

Author: Erin

Tags: no tags!! :o

Recipe added on: 2022-1-23

No edits

\ No newline at end of file