Skip to content

Commit

Permalink
nostr: bump negentropy to v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Oct 3, 2023
1 parent a87b31d commit cee2771
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 3 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions crates/nostr-sdk/src/relay/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ use async_utility::futures_util::stream::AbortHandle;
use async_utility::{futures_util, thread, time};
use nostr::message::relay::NegentropyErrorCode;
use nostr::message::MessageHandleError;
use nostr::negentropy::hex;
use nostr::negentropy::{self, Bytes, Negentropy};
#[cfg(feature = "nip11")]
use nostr::nips::nip11::RelayInformationDocument;
Expand All @@ -47,9 +46,6 @@ pub enum Error {
/// Negentropy error
#[error(transparent)]
Negentropy(#[from] negentropy::Error),
/// Hex error
#[error(transparent)]
Hex(#[from] hex::Error),
/// Channel timeout
#[error("channel timeout")]
ChannelTimeout,
Expand Down
2 changes: 1 addition & 1 deletion crates/nostr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ bip39 = { version = "2.0", default-features = false, optional = true }
bitcoin = { version = "0.30", default-features = false, features = ["rand", "serde"] }
cbc = { version = "0.1", optional = true }
chacha20 = { version = "0.9", optional = true }
negentropy = { git = "https://github.com/yukibtc/rust-negentropy", rev = "547592168356f423dd10773384b798e7c7139893", default-features = false }
negentropy = { version = "0.3", default-features = false }
nostr-ots = { version = "0.2", optional = true }
once_cell = { workspace = true, optional = true }
reqwest = { version = "0.11", default-features = false, features = ["json", "rustls-tls-webpki-roots", "socks"], optional = true }
Expand Down

0 comments on commit cee2771

Please sign in to comment.