Skip to content

Commit

Permalink
ffi: remove async-utility dep
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Kishimoto <[email protected]>
  • Loading branch information
yukibtc committed Nov 18, 2024
1 parent 2561d2b commit 1cec130
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

1 change: 0 additions & 1 deletion bindings/nostr-sdk-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ ndb = ["nostr-sdk/ndb"]

[dependencies]
async-trait.workspace = true
async-utility.workspace = true
nostr = { workspace = true, features = ["std", "all-nips"] }
nostr-connect.workspace = true
nostr-relay-builder.workspace = true
Expand Down
6 changes: 0 additions & 6 deletions bindings/nostr-sdk-ffi/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,6 @@ impl From<nostr_sdk::nwc::Error> for NostrSdkError {
}
}

impl From<async_utility::thread::Error> for NostrSdkError {
fn from(e: async_utility::thread::Error) -> NostrSdkError {
Self::Generic(e.to_string())
}
}

impl From<nostr_relay_builder::error::Error> for NostrSdkError {
fn from(e: nostr_relay_builder::error::Error) -> NostrSdkError {
Self::Generic(e.to_string())
Expand Down

0 comments on commit 1cec130

Please sign in to comment.