Cargo Features

[dependencies]
nostr_rust = { version = "0.20.3", default-features = false, features = ["async", "sync"] }
default = sync

Sync by default

async = futures, futures-util, tokio

Affects nip11::get_relay_information_document, nip5::check_validity, nip5::get_nips05, nip5::get_nip05, nostr_client::Client, websocket::SimplifiedWS.socket

sync default

Enables blocking of reqwest ^0.11

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tokio async?
futures-util async?
futures async?