Alexander Meißner
9e703f85de
Upgrades Rust to 1.72.0 & nightly-2023-08-25 ( #32961 )
...
* allow pedantic invalid cast lint
* allow lint with false-positive triggered by `test-case` crate
* nightly `fmt` correction
* adapt to rust layout changes
* remove dubious test
* Use transmute instead of pointer cast and de/ref when check_aligned is false.
* Renames clippy::integer_arithmetic to clippy::arithmetic_side_effects.
* bump rust nightly to 2023-08-25
* Upgrades Rust to 1.72.0
---------
Co-authored-by: Trent Nelson <trent@solana.com>
2023-09-01 07:26:13 +00:00
Yihau Chen
8940dd01fe
ci: bump tungstenite and tokio-tungstenite to 0.20.0 ( #32996 )
...
* ci: bump tungstenite and tokio-tungstenite to 0.20.0
* replace deprecated functions, read_message => read
* replace deprecated functions, write_message => send
2023-08-28 11:20:00 +08:00
Maximilian Schneider
4eea22cf5f
improve pubsub error handling ( #31669 )
...
Co-authored-by: Maximilian Schneider <max@mango.markets>
2023-05-19 16:46:09 +00:00
cavemanloverboy
9243fac18f
Disambiguate tx = transaction, tx = sender in `pubsub-client` ( #30519 )
...
tx, rx to sender, receiver to avoid transaction=tx
2023-02-24 20:20:00 -08:00
Maximilian Schneider
48e2cdbc88
improve pubsub error handling ( #29969 )
...
* improve pubsub error handling
* improve pubsub error handling for consistency
---------
Co-authored-by: Maximilian Schneider <max@mango.markets>
2023-02-17 10:27:22 -07:00
Sergey Ukolov
f65706a38e
Don't try to deserialize WebSocket ping messages ( #28562 )
...
* Don't try to deserialize ping messages.
* Fixed comment.
* Use Message::is_ping helper instead of manual pattern matching.
* fmt
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2023-01-10 10:42:18 -07:00
Tyera
0a6ff82911
Setter for node_version property ( #29594 )
...
Add: set_node_version method
Co-authored-by: Charles Raimbault <charles.raimbault@epitech.eu>
2023-01-09 17:32:49 -07:00
behzad nouri
9524c9dbff
patches errors from clippy::uninlined_format_args
...
https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
2022-12-06 19:32:15 +00:00
Brian Anderson
0c1ff7c63d
Document the pubsub client APIs. ( #27188 )
...
* Document the pubsub client APIs.
* Apply suggestions from code review
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Update client/src/nonblocking/pubsub_client.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Update pubsub_client docs
* Link pubsub docs to solana-rpc docs
* fmt
* Update solana_client references
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-09-15 16:39:16 -06:00
Tyera Eulberg
c24eaa36f8
Split up solana-client ( #27246 )
...
* Move thin-client to new crate
* Move tpu client and varieties to new crate
* Move pubsub-client to new crate
* Move rpc-client to new crate
* Add client-common crate to avoid circular dependencies
* Move rpc_cache and make less pub
* Remove unused unpub modules
* Add nonce-client
* Remove unused dependencies
* Fix rpc_client docs
* Move spinner to calling clients
* Rename client-common to rpc-client-api
* Remove unnecessary rpc_ prefix
* Remove unused ClientErrorKind variant
* Remove unnecessary Client prefix
* Move mod declarations into lib.rs and remove unnecessary files
* Rename nonce-client and remove redundant module name
* Restore mock_sender_for_cli in solana-client
2022-08-24 05:34:35 +00:00