From cd7d6dd7975eff18b49665f6ebcabee78b204f76 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 27 May 2026 16:59:08 +0530 Subject: Fix compile errors: enable nip04/nip46 features, fix API mismatches - Cargo.toml: enable nip04 + nip46 features on nostr crate - nip46.rs: secret_key() returns &SecretKey not Result, remove ? operator - nip46.rs: EventBuilder::new takes 2 args, use .tags() for tags - nip46.rs: fix async block in timeout map_err - git_mirror.rs: relay_url is a field not a method --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 2c6be46..78130f3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ license = "MIT" [dependencies] nostr-sdk = "0.39" -nostr = "0.39" +nostr = { version = "0.39", features = ["nip04", "nip46"] } tokio = { version = "1", features = ["full"] } sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite"] } toml = "0.8" -- cgit v1.2.3