Skip to content

Commit

Permalink
Update authors, bump version, and streamline Rocket.toml config
Browse files Browse the repository at this point in the history
Added a new author entry and updated existing author emails in various configuration files. Bumped the project version from 1.0.2 to 2.0.0. Refactored Rocket.toml to streamline configuration for different build profiles.
  • Loading branch information
Petter Salminen authored and kazie committed Oct 5, 2024
1 parent b642d39 commit 37f9184
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[package]
name = "joel-bot"
version = "1.0.2"
version = "2.0.0"
authors = [
"Fabian Eriksson <[email protected]>",
"Joakim Anell <[email protected]>",
"Simon Olander <[email protected]>",
"Petter Salminen <[email protected]>",
"Petter Salminen <[email protected]>",
"Eric von Knorring <[email protected]>",
]
edition = "2021"

Expand Down
34 changes: 12 additions & 22 deletions Rocket.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,16 @@
[development]
address = "localhost"
port = 8000
keep_alive = 5
read_timeout = 5
write_timeout = 5
log = "normal"
limits = { forms = 32768 }

[staging]
## defaults for _all_ profiles
[default]
address = "0.0.0.0"
limits = { form = "64 kB", json = "10 MiB" }

## set only when compiled in debug mode, i.e, `cargo build`
[debug]
port = 8000
keep_alive = 5
read_timeout = 5
write_timeout = 5
log = "normal"
limits = { forms = 32768 }
## only the `json` key from `default` will be overridden; `form` will remain
limits = { json = "10MiB" }

[production]
address = "0.0.0.0"

## set only when compiled in release mode, i.e, `cargo build --release`
[release]
port = 80
keep_alive = 5
read_timeout = 5
write_timeout = 5
log = "critical"
limits = { forms = 32768 }
ip_header = false
1 change: 1 addition & 0 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ intro:
- "Fabian Eriksson (<@UFF5GMPBJ>)"
- "Simon Olander (<@U1FEF7PSN>)"
- "Petter Salminen (<@UK9LN8YQZ>)"
- "Eric von Knorring (<@UNQDQSZLL>)"

time_report:
beginning:
Expand Down

0 comments on commit 37f9184

Please sign in to comment.