Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release 0.7.1 #248

Merged
merged 2 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dlc-manager/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ homepage = "https://github.com/p2pderivatives/rust-dlc"
license-file = "../LICENSE"
name = "dlc-manager"
repository = "https://github.com/p2pderivatives/rust-dlc/tree/master/dlc-manager"
version = "0.7.0"
version = "0.7.1"

[features]
default = ["std"]
Expand All @@ -18,9 +18,9 @@ use-serde = ["serde", "dlc/use-serde", "dlc-messages/use-serde", "dlc-trie/use-s
[dependencies]
async-trait = "0.1.50"
bitcoin = { version = "0.32.2", default-features = false }
dlc = { version = "0.7.0", default-features = false, path = "../dlc" }
dlc-messages = { version = "0.7.0", default-features = false, path = "../dlc-messages" }
dlc-trie = { version = "0.7.0", default-features = false, path = "../dlc-trie" }
dlc = { version = "0.7.1", default-features = false, path = "../dlc" }
dlc-messages = { version = "0.7.1", default-features = false, path = "../dlc-messages" }
dlc-trie = { version = "0.7.1", default-features = false, path = "../dlc-trie" }
hex = { package = "hex-conservative", version = "0.1" }
lightning = { version = "0.0.125", default-features = false, features = ["grind_signatures"] }
log = "0.4.14"
Expand Down
1 change: 0 additions & 1 deletion dlc-manager/src/channel_updater.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2226,7 +2226,6 @@ where
}

/// Sign the settlement transaction and update the state of the channel.
pub(crate) fn close_settled_channel<S: Deref>(
secp: &Secp256k1<All>,
signed_channel: &SignedChannel,
Expand Down
4 changes: 2 additions & 2 deletions dlc-messages/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage = "https://github.com/p2pderivatives/rust-dlc"
license-file = "../LICENSE"
name = "dlc-messages"
repository = "https://github.com/p2pderivatives/rust-dlc/tree/master/dlc-messages"
version = "0.7.0"
version = "0.7.1"

[features]
default = ["std"]
Expand All @@ -15,7 +15,7 @@ use-serde = ["serde", "secp256k1-zkp/serde", "bitcoin/serde"]

[dependencies]
bitcoin = { version = "0.32.2", default-features = false }
dlc = { version = "0.7.0", path = "../dlc", default-features = false }
dlc = { version = "0.7.1", path = "../dlc", default-features = false }
lightning = { version = "0.0.125", default-features = false }
secp256k1-zkp = {version = "0.11.0"}
serde = {version = "1.0", features = ["derive"], optional = true}
Expand Down
1 change: 0 additions & 1 deletion dlc-messages/src/contract_msgs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ impl ContractInfo {
serde(rename_all = "camelCase")
)]
/// Information for a contract based on a single event.

pub struct SingleContractInfo {
/// The total collateral locked in the contract.
pub total_collateral: u64,
Expand Down
4 changes: 2 additions & 2 deletions dlc-trie/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage = "https://github.com/p2pderivatives/rust-dlc"
license-file = "../LICENSE"
name = "dlc-trie"
repository = "https://github.com/p2pderivatives/rust-dlc/tree/master/dlc-trie"
version = "0.7.0"
version = "0.7.1"

[features]
default = ["std"]
Expand All @@ -16,7 +16,7 @@ use-serde = ["serde", "dlc/use-serde"]

[dependencies]
bitcoin = { version = "0.32.2", default-features = false }
dlc = {version = "0.7.0", default-features = false, path = "../dlc"}
dlc = {version = "0.7.1", default-features = false, path = "../dlc"}
rayon = {version = "1.5", optional = true}
secp256k1-zkp = {version = "0.11.0" }
serde = {version = "1.0", optional = true, default-features = false, features = ["derive"]}
4 changes: 2 additions & 2 deletions dlc-trie/src/multi_oracle_trie.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ impl<'a> DlcTrie<'a, MultiOracleTrieIter<'a>> for MultiOracleTrie {
Ok(trie_infos)
}

fn iter(&'a self) -> MultiOracleTrieIter {
fn iter(&'a self) -> MultiOracleTrieIter<'a> {
let digit_trie_iterator = DigitTrieIter::new(&self.digit_trie);
let extra_cover_trie_iterator = self.extra_cover_trie.as_ref().map(MultiTrieIterator::new);
MultiOracleTrieIter {
Expand All @@ -286,7 +286,7 @@ pub struct MultiOracleTrieIter<'a> {
oracle_numeric_infos: OracleNumericInfo,
}

impl<'a> Iterator for MultiOracleTrieIter<'a> {
impl Iterator for MultiOracleTrieIter<'_> {
type Item = TrieIterInfo;

fn next(&mut self) -> Option<Self::Item> {
Expand Down
2 changes: 1 addition & 1 deletion dlc-trie/src/multi_oracle_trie_with_diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ pub struct MultiOracleTrieWithDiffIter<'a> {
multi_trie_iterator: MultiTrieIterator<'a, RangeInfo>,
}

impl<'a> Iterator for MultiOracleTrieWithDiffIter<'a> {
impl Iterator for MultiOracleTrieWithDiffIter<'_> {
type Item = TrieIterInfo;

fn next(&mut self) -> Option<Self::Item> {
Expand Down
2 changes: 1 addition & 1 deletion dlc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ homepage = "https://github.com/p2pderivatives/rust-dlc"
license-file = "../LICENSE"
name = "dlc"
repository = "https://github.com/p2pderivatives/rust-dlc/tree/master/dlc"
version = "0.7.0"
version = "0.7.1"

[dependencies]
bitcoin = { version = "0.32.2", default-features = false }
Expand Down
Loading