Skip to content

Commit

Permalink
explicit features section
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Jul 20, 2024
1 parent 31f0341 commit 1a87126
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions bindings_ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@ uuid = { version = "1.9", features = ["v4", "fast-rng" ] }
# NOTE: The release profile reduces bundle size from 230M to 41M - may have performance impliciations
# https://stackoverflow.com/a/54842093
[profile.release]
codegen-units = 1 # Reduce number of codegen units to increase optimizations
lto = true # Enable link-time optimization
opt-level = 'z' # Optimize for size
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*
codegen-units = 1
lto = true
opt-level = 'z'
panic = 'abort'
strip = true

[features]
default = []
sqlcipher = ["xmtp_mls/sqlcipher"]

0 comments on commit 1a87126

Please sign in to comment.