rust-rocket

Compiler says that data cannot be shared between threads safely even though the data is wrapped within a Mutex

I'm using Rocket which has a State that it passes to the HTTP requests. This struct contains a Mutex<DatastoreInstance> which gives access to a SQLite database and is locked with a mutex to make read and writes safe. pub struct DatastoreInstance { conn: Connection, } When the DatastoreInstance...

How to parse multipart forms using abonander/multipart with Rocket?

This might be useful for me : I have no idea how you're meant to go about parsing a multipart form besides doing it manually using just the raw post-data string as input I will try to adjust the Hyper example but any help will be much appreciated. Relevant issues: Support Multipart Forms . support...