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
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? :)
threaded - newest
Did you check out the Examples ?
Thanks, found it github.com/tokio-rs/axum/blob/main/…/main.rs
With a keyboard
In all honesty, i had a laugh 😂