sephynox / xrpl-rust

A 100% Rust library to interact with the XRPL. XRPL Grant Winner
https://crates.io/crates/xrpl-rust
ISC License
16 stars 8 forks source link

Add AsyncWebsocketClient #70

Closed LimpidCrypto closed 10 months ago

LimpidCrypto commented 10 months ago

High Level Overview of Change

This PR is a replacement of #67 to fix the incorrect base branch of #67 . The changes are basically the same.

Adds an AsyncWebsocketClient to establish a websocket connection to a XRPL node. Features: "net" and "embedded-websocket": To establish a websocket connection the crate embedded-websocket is used. "net" and "tungstenite": To establish a websocket connection the crate tokio-tungstenite is used.

The PR also updates some dependencies.

Type of Change

TODO:

sephynox commented 10 months ago

We should probably do package updates in a separate PR of their own in the future.

sephynox commented 10 months ago

We should fix the deprecation warnings such as use of deprecated methodchrono::TimeZone::timestamp: usetimestamp_opt()instead.