Cargo Features

[dependencies]
nostr-sdk = { version = "0.30.0", default-features = false, features = ["blocking", "ndb", "rocksdb", "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 whenever nostr-sdk is added without default-features = false somewhere in the dependency tree.

blocking

Enables once_cell, blocking of nostr

Affects nostr-sdk::block_on

ndb

Enables nostr-ndb

rocksdb

Enables nostr-rocksdb

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

Enables nip03 of nostr

nip04 all-nips

Enables nip04 of nostr and nostr-signer

nip05 all-nips

Enables nip05 of nostr

nip06 all-nips

Enables nip06 of nostr

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

Enables nwc, nip47 of nostr

nip49 all-nips

Enables nip49 of nostr

nip57 all-nips webln?

Enables lnurl-pay, nostr-zapper, nip57 of nostr

Affects builder::ClientBuilder.zapper

nip59 all-nips

Enables nip59 of nostr