Cargo Features
[dependencies]
nostr-sdk = { version = "0.35.0", default-features = false, features = ["tor", "lmdb", "ndb", "sqlite", "indexeddb", "webln", "all-nips", "nip03", "nip04", "nip05", "nip06", "nip07", "nip11", "nip44", "nip46", "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
- sqlite
-
Enables nostr-sqlite
- indexeddb
-
Enables nostr-indexeddb
- webln = nip57
-
Enables nostr-webln
- all-nips default = nip04, nip05, nip06, nip07, nip11, nip44, nip46, nip47, nip49, nip57, nip59
- nip03
- nip04 all-nips
-
Enables nip04 of nostr and nostr-signer
- nip05 all-nips
- nip06 all-nips
- nip07 all-nips
-
Enables nip07 of nostr and nostr-signer
- nip11 all-nips
-
Enables nip11 of nostr and nostr-relay-pool
- nip44 all-nips
-
Enables nip44 of nostr and nostr-signer
- nip46 all-nips
-
Enables nip46 of nostr and nostr-signer
- 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
-
Enables nip59 of nostr and nostr-signer