What is the best way to handle file upload in Rust?
from kionite231@lemmy.ca to rust@programming.dev on 07 Jan 12:12
https://lemmy.ca/post/36629035

Hello,

I was making a pastebin in Rust which I shared to the Rust community but there was one person who asked “why didn’t you use upload functionality of axum” (I implemented the upload functionality using by simply using TCP connection). now I think that it might be a good idea to have file upload using axum but I couldn’t find how to do it in their documentation. could someone point me to the right direction please? :)

#rust

threaded - newest

beeb@lemm.ee on 07 Jan 12:19 next collapse

Did you check out the Examples ?

kionite231@lemmy.ca on 07 Jan 12:26 collapse
SplashJackson@lemmy.ca on 07 Jan 13:31 collapse

With a keyboard

johannes@lemmy.jhjacobs.nl on 09 Jan 06:17 collapse

In all honesty, i had a laugh 😂