-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Rocket.toml and update Spacefile and main.rs
- Loading branch information
Showing
3 changed files
with
22 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
## defaults for _all_ profiles | ||
[default] | ||
address = "0.0.0.0" | ||
limits = { form = "64 kB", json = "1 MiB" } | ||
|
||
## set only when compiled in debug mode, i.e, `cargo build` | ||
[debug] | ||
port = 8001 | ||
## only the `json` key from `default` will be overridden; `form` will remain | ||
limits = { json = "10MiB" } | ||
|
||
## set only when compiled in release mode, i.e, `cargo build --release` | ||
[release] | ||
port = 9999 | ||
ip_header = false | ||
secret_key = "hPrYyЭRiMyµ5sBB1π+CMæ1køFsåqKvBiQJxBVHQk=" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters