π¦Rust
π Files
You should not send all your application files to .zip
, there are some exceptions, they are:
πCreate the Cargo.toml
ποΈ Compressing the Files
For more details on how to Compress your Files according to your Operating System, you can see below
β Hosting your bot
βοΈHow to Hostπ Hosting Your Site
This feature needs some basic requirements to be able to be used, please check the requirements here before continuing
Using Rocket
Rocket
Rocket is a web framework built in rust, currently it only works in the nightly version of rust
Installing Rocket
Rocket
Consult the official documentation: https://rocket.rs/
Configuring Rocket
for DisCloud
Rocket
for DisCloudCreate anrust-toolchain.toml
file:
rust-toolchain.toml
This will instruct rustup
to use the nightly
version, and download that version if necessary.
discloud.config
example for Rocket
discloud.config
Last updated