Cargo Features
[dependencies]
nostr-sdk = { version = "0.36.0", default-features = false, features = ["tor", "lmdb", "ndb", "indexeddb", "webln", "all-nips", "nip03", "nip04", "nip05", "nip06", "nip07", "nip11", "nip44", "nip47", "nip49", "nip57", "nip59"] }
- default = all-nips
-
The
all-nips
feature is set by default whenevernostr-sdk
is added without
somewhere in the dependency tree.default-features = false - tor
-
Enables tor of nostr-relay-pool
- lmdb
-
Enables nostr-lmdb
- ndb
-
Enables nostr-ndb
- indexeddb
-
Enables nostr-indexeddb
- webln = nip57
-
Enables webln of optional nostr-zapper
- all-nips default = nip04, nip05, nip06, nip07, nip11, nip44, nip47, nip49, nip57, nip59
- nip03
- nip04 all-nips
- nip05 all-nips
- nip06 all-nips
- nip07 all-nips
- nip11 all-nips
-
Enables nip11 of nostr and nostr-relay-pool
- nip44 all-nips
- nip47 all-nips
- nip49 all-nips
- nip57 all-nips webln?
-
Enables lnurl-pay, nostr-zapper, nip57 of nostr
Affects
builder::ClientBuilder.zapper
… - nip59 all-nips