π¦Rust
π Files
You should not send all your application files to .zip
, there are some exceptions, they are:
- File Cargo.lock
- File .gitignore
- Folder target
- Folder .git
ποΈ 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
Using Rocket
Rocket
Rocket is a web framework built in rust, currently it only works in the nightly version of rust
rustup override set nightly
Installing Rocket
Rocket
Consult the official documentation: https://rocket.rs/
Configuring Rocket
for DisCloud
Rocket
for DisCloudCreate anrust-toolchain.toml
file:
[toolchain]
channel = "nightly"
This will instruct rustup
to use the nightly
version, and download that version if necessary.
discloud.config
example for Rocket
ID=subdomino
TYPE=site
MAIN=src/main.rs
RAM=512
AUTORESTART=false
VERSION=latest
APT=tools
Last updated