added markup crate

This commit is contained in:
Schrottkatze 2023-02-27 09:55:16 +01:00
parent 27fe305640
commit 3f2bdfdaed
3 changed files with 24 additions and 0 deletions

22
Cargo.lock generated
View file

@ -1266,6 +1266,27 @@ dependencies = [
"cfg-if", "cfg-if",
] ]
[[package]]
name = "markup"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd9196a235d499738d04f6a2466ce2610bf6b84730610efea8bee1b90d028b0d"
dependencies = [
"itoa",
"markup-proc-macro",
]
[[package]]
name = "markup-proc-macro"
version = "0.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a927f0e237dcbdd8c1a8ab03c4e1e8b1999804c448ebf06ff3b5512506c8150"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]] [[package]]
name = "memchr" name = "memchr"
version = "2.5.0" version = "2.5.0"
@ -1300,6 +1321,7 @@ dependencies = [
"lazy_static", "lazy_static",
"linkify", "linkify",
"log", "log",
"markup",
"mime_guess", "mime_guess",
"qrcode-generator", "qrcode-generator",
"rand", "rand",

View file

@ -35,6 +35,7 @@ qrcode-generator = "4.1.6"
rust-embed = "6.4.2" rust-embed = "6.4.2"
mime_guess = "2.0.4" mime_guess = "2.0.4"
harsh = "0.2" harsh = "0.2"
markup = "0.13"
[profile.release] [profile.release]
lto = true lto = true

View file

@ -42,6 +42,7 @@ Please do not ask for help in the issues of the original MicroBin repository, I'
- [x] customizable `pasta`, `url` and `raw` endpoints - [x] customizable `pasta`, `url` and `raw` endpoints
- [ ] disable remove - [ ] disable remove
- [x] Click logo/name to get to root - [x] Click logo/name to get to root
- [ ] switch to other template engine
- [ ] Move frontend interactive code to rust as well - [ ] Move frontend interactive code to rust as well
- [x] removed light mode - [x] removed light mode