Skip to content

Commit

Permalink
Update dependencies for stability and compatibility
Browse files Browse the repository at this point in the history
- With the release of `elements-miniscript:0.1.0` we can now release
`baru` to `crates.io` once again!
- Fixing the git dev-dependency on `elements-harness` to a specific
commit hash should prevent unexpected changes from coming in.
- Depending directly on `rust-elements:0.17.0` and indirectly via
`elements-miniscript` on `rust-elements:0.18.0` caused problems in
certain situations (never in CI). Upgrading to version `0.18.0` has
fixed this.

Given that `baru:0.1.1` could never be released to `crates.io`, didn't
include anything other than internal refactorings and wasn't even
working in certain environments, we've decided to erase it from
history (except in the git history ;).
  • Loading branch information
luckysori committed Jul 30, 2021
1 parent db553d0 commit a60589c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
8 changes: 5 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `fn liquidation_transaction()` API on `Lender1` is now `async`.
- Model the collateral contract's timelock as a `u32`.

## [0.1.1] - 2021-07-23
### Fixed

- Squashed an [elusive bug](https://github.com/comit-network/baru/issues/35) preventing users from building version `0.1.0` of this library.
This required updating `rust-elements` to version `0.18`.

## [0.1.0] - 2021-07-16

### Added

- Loan protocol and swap libraries originally developed in [Project Waves](https://github.com/comit-network/waves).

[Unreleased]: https://github.com/comit-network/baru/compare/0.1.1...HEAD
[0.1.1]: https://github.com/comit-network/baru/compare/0.1.0...0.1.1
[Unreleased]: https://github.com/comit-network/baru/compare/0.1.0...HEAD
[0.1.0]: https://github.com/comit-network/baru/releases/tag/0.1.0
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = [ "elements-rpc" ]

[package]
name = "baru"
version = "0.1.1"
version = "0.1.0"
authors = [ "CoBloX Team <[email protected]>" ]
edition = "2018"
license-file = "LICENSE"
Expand All @@ -13,8 +13,8 @@ description = "Library to facilitate DeFi on Liquid"
anyhow = "1"
bitcoin_hashes = "0.9.0"
conquer-once = "0.3"
elements = { version = "0.17", features = [ "serde-feature" ] }
elements-miniscript = { git = "http://github.com/ElementsProject/elements-miniscript", features = [ "use-serde" ] }
elements = { version = "0.18", features = [ "serde-feature" ] }
elements-miniscript = { version = "0.1", features = [ "use-serde" ] }
env_logger = "0.8.3"
hex = "0.4"
hmac = "0.10"
Expand All @@ -29,7 +29,7 @@ sha2 = "0.9"
thiserror = "1"

[dev-dependencies]
elements-harness = { git = "https://github.com/comit-network/elements-harness" }
elements-harness = { git = "https://github.com/comit-network/elements-harness", rev = "0c28948c124d68e828e0f27c9202ba278dc04421" }
elements-rpc = { path = "./elements-rpc" }
rand_chacha = "0.1"
testcontainers = "0.12"
Expand Down
2 changes: 1 addition & 1 deletion elements-rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false
[dependencies]
anyhow = "1.0"
bitcoin_hashes = "0.9.0"
elements = { version = "0.17", features = [ "serde-feature" ] }
elements = { version = "0.18", features = [ "serde-feature" ] }
jsonrpc_client = { version = "0.6", features = [ "reqwest" ] }
reqwest = "0.11"
serde = "1.0"
Expand Down

0 comments on commit a60589c

Please sign in to comment.