Skip to content

Commit dbedd65

Browse files
authored
Merge pull request #19 from Tyrannican/reduce-bin-size
chore: reduced binary size
2 parents ea511c3 + 523a234 commit dbedd65

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
Documenting changes between versions beginning from v0.3.0
44

5+
## v0.10.2
6+
7+
* Reduced binary size - no other changes
8+
59
## v0.10.1
610

711
* Added new command to display the currently loaded environment

Cargo.toml

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "safir"
3-
version = "0.10.1"
3+
version = "0.10.2"
44
edition = "2021"
55
authors = ["Graham Keenan <graham.keenan@outlook.com>"]
66
license = "MIT OR Apache-2.0"
@@ -26,6 +26,13 @@ async-trait = "0.1.80"
2626
inherits = "release"
2727
lto = "thin"
2828

29+
[profile.release]
30+
strip = true
31+
opt-level = "z"
32+
lto = true
33+
codegen-units = 1
34+
panic = "abort"
35+
2936
# Config for 'cargo dist'
3037
[workspace.metadata.dist]
3138
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)

0 commit comments

Comments
 (0)