Skip to content

Commit

Permalink
Merge pull request #80 from tofubert/build/add_release_optimisations
Browse files Browse the repository at this point in the history
optimize release build
  • Loading branch information
tofubert authored Jan 10, 2025
2 parents 1a6964f + c222db3 commit 67d2533
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
22 changes: 22 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,25 @@ unsafe_code = "forbid"

[lints.clippy]
pedantic = "deny"

[profile.release]
# Disable debug information.
debug = false

# Strip symbols from the binary
strip = true

# Enable link time optimization (LTO) to remove dead code
lto = true

# Improve size optimization over build time
codegen-units = 1

# Disable debug assertions.
debug-assertions = false

# Disable overflow checks.
overflow-checks = false

# Disable rpath.
rpath = false
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

## Setup

* run "cargo r" or "sechat-rs" and enjoy
* run "cargo r" or "sechat" and enjoy
* If no config is found a default config will be created, which you can fill in.
* a "-c" Option for console exists, if none is proveded it will default to XDG default paths.
* Logs will be written to "dev.log". This is so we dont write log output into the terminal UI.
Expand Down Expand Up @@ -48,7 +48,7 @@ A list of planned and requested freatures is also kept there.

## The Name
Originally intended to be called seshat, after the egyptian goddess of writing, a typo became sechat.
Thank to Sebastian for sugesting the name in the first place.
Thank to Sebastian for sugesting the name in the first place.

## Sponsors
Thanks to [emlix gmbh](https://github.com/emlix) for allowing [@tofu](https://github.com/tofubert) and other so spend some of their work time to tinker with this.

0 comments on commit 67d2533

Please sign in to comment.