cargo update, fmt and add rust_embed crate

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
Gunwant Jain
2022-01-16 23:03:53 +05:30
parent 0359a8ef52
commit 33583b71d4
8 changed files with 410 additions and 335 deletions

View File

@@ -18,7 +18,6 @@ pub async fn upload(paste: Data<'_>) -> Result<String, std::io::Error> {
.contains("text")
{
true => format!("/p/{id}", id = id),
false => format!("/{id}", id = id),
};