diff --git a/Cargo.lock b/Cargo.lock index fa1d07ba2..7e5b07969 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3348,7 +3348,6 @@ name = "nostr-sdk-ffi" version = "0.1.0" dependencies = [ "async-trait", - "async-utility", "nostr", "nostr-connect", "nostr-relay-builder", diff --git a/bindings/nostr-sdk-ffi/Cargo.toml b/bindings/nostr-sdk-ffi/Cargo.toml index 0b4e85098..ef6515f52 100644 --- a/bindings/nostr-sdk-ffi/Cargo.toml +++ b/bindings/nostr-sdk-ffi/Cargo.toml @@ -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 diff --git a/bindings/nostr-sdk-ffi/src/error.rs b/bindings/nostr-sdk-ffi/src/error.rs index 7a5871da7..086901cf2 100644 --- a/bindings/nostr-sdk-ffi/src/error.rs +++ b/bindings/nostr-sdk-ffi/src/error.rs @@ -267,12 +267,6 @@ impl From for NostrSdkError { } } -impl From for NostrSdkError { - fn from(e: async_utility::thread::Error) -> NostrSdkError { - Self::Generic(e.to_string()) - } -} - impl From for NostrSdkError { fn from(e: nostr_relay_builder::error::Error) -> NostrSdkError { Self::Generic(e.to_string())