Also, it adds the basic functionnality of showing the subjects of mails for the selected mailbox (it doesn't work quite well, you can't change mailboxes but when you log in, the default thing should work).
Just for information, the commits of this pull request contain 372 additions and 516 deletions, which tells how much simpler it is to work with sync than async.
Building with nighlty
Rocket is a really powerful web framework, but it has the downpart that it requires nightly to build.
To install nightly, you can simply run the following command:
rustup toolchain add nightly
Then, in the chouette-mail/server directory, you need to run the following command:
rustup override set nightly
which will make cargo build with the nightly toolchain by default.
Then, rm -rf target Cargo.lock and cargo build again and the work should be done.
Differences
This pull request is a consequence of me being tired of async and migrates two things:
Also, it adds the basic functionnality of showing the subjects of mails for the selected mailbox (it doesn't work quite well, you can't change mailboxes but when you log in, the default thing should work).
Just for information, the commits of this pull request contain 372 additions and 516 deletions, which tells how much simpler it is to work with sync than async.
Building with nighlty
Rocket is a really powerful web framework, but it has the downpart that it requires nightly to build.
To install nightly, you can simply run the following command:
Then, in the
chouette-mail/server
directory, you need to run the following command:which will make cargo build with the nightly toolchain by default.
Then,
rm -rf target Cargo.lock
andcargo build
again and the work should be done.