opensea-stream
Crate for receiving updates from the OpenSea Stream API.
This crate is a thin wrapper over phyllo with a few convenience functions and struct definitions for the event schema.
It is recommended that you also read the documentation of phyllo to understand the Phoenix protocol which delivers these messages.
Example
The following example prints all listings of items in the wandernauts collection as they are created.
async
Features
rustls-tls-native-roots (which uses rustls-native-certs
for root certificates) is enabled by default. To use rustls-tls-webpki-roots (webpki-roots)
instead, include this in your Cargo.toml:
= { = "0.1", = false, = ["rustls-tls-webpki-roots"] }