Cargo Features
[dependencies]
gnostr_rs = { version = "0.0.7", 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.