Why Nostr? What is Njump?
2024-10-25 14:23:30
in reply to

kpeace on Nostr: Still not building. I get the error Error[E0599]: no variant or associated item named ...

Still not building.

I get the error

Error[E0599]: no variant or associated item named `KeyPackage` found for enum `nostr_sdk::Kind` in the current scope
--> src/accounts.rs:206:21
|
206 | .kind(Kind::KeyPackage)
| ^^^^^^^^^^ variant or associated item not found in `Kind`

(I cloned your nostr-sdk to the right location)

I switched this line in Cargo.toml

nostr-sdk = { version = "0.35", features = ["ndb"], path = "../../rust-nostr/crates/nostr-sdk" }

To this line
nostr-sdk = { git = "https://github.com/erskingardner/rust-nostr";, branch = "master" }

I still get the same error
Author Public Key
npub1kasmxhs5mln74klwkuttc3ae5tquwqaja6vz0j4yzkjw8d49pnrqm0ttwe