Skip to content

Commit

Permalink
Add production profile to nodejs bindings (#978)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M authored Jul 31, 2023
1 parent 1dadb72 commit 38f3013
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changes/missing-production-profile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wallet-nodejs-binding": patch
---

Fixed missing production profile when no prebuild binary is available;
8 changes: 7 additions & 1 deletion bindings/nodejs-old/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,10 @@ neon = { version = "0.10.1", default-features = false, features = [ "napi-6", "e
once_cell = { version = "1.18.0", default-features = false }
serde = { version = "1.0.175", default-features = false }
serde_json = { version = "1.0.103", default-features = false }
tokio = { version = "1.29.1", default-features = false }
tokio = { version = "1.29.1", default-features = false }

[profile.production]
codegen-units = 1
inherits = "release"
lto = true
strip = "symbols"
6 changes: 6 additions & 0 deletions bindings/nodejs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security -->

## 1.0.4 - 2023-MM-DD

### Fixed

- Missing production profile when no prebuild binary is available;

## 1.0.3 - 2023-07-31

### Fixed
Expand Down
8 changes: 7 additions & 1 deletion bindings/nodejs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,10 @@ log = { version = "0.4.19", default-features = false }
neon = { version = "0.10.1", default-features = false, features = [ "napi-6", "event-queue-api", "promise-api" ] }
once_cell = { version = "1.18.0", default-features = false }
serde_json = { version = "1.0.103", default-features = false }
tokio = { version = "1.29.1", default-features = false }
tokio = { version = "1.29.1", default-features = false }

[profile.production]
codegen-units = 1
inherits = "release"
lto = true
strip = "symbols"

0 comments on commit 38f3013

Please sign in to comment.