Ver Fonte

client: Make `ThreadSafeSigner` trait public (#3107)

cryptopapi997 há 1 ano atrás
pai
commit
4e4c04c6e0
2 ficheiros alterados com 3 adições e 0 exclusões
  1. 1 0
      CHANGELOG.md
  2. 2 0
      client/src/lib.rs

+ 1 - 0
CHANGELOG.md

@@ -20,6 +20,7 @@ The minor version will be incremented upon a breaking change and the patch versi
 - client: Add option to pass in mock rpc client when using anchor_client ([#3053](https://github.com/coral-xyz/anchor/pull/3053)).
 - lang: Get discriminator length dynamically ([#3101](https://github.com/coral-xyz/anchor/pull/3101)).
 - lang: Add non-8-byte discriminator support in `declare_program!` ([#3103](https://github.com/coral-xyz/anchor/pull/3103)).
+- client: Make `ThreadSafeSigner` trait public ([#3107](https://github.com/coral-xyz/anchor/pull/3107)).
 
 ### Fixes
 

+ 2 - 0
client/src/lib.rs

@@ -101,6 +101,8 @@ use tokio::{
 
 pub use anchor_lang;
 pub use cluster::Cluster;
+#[cfg(feature = "async")]
+pub use nonblocking::ThreadSafeSigner;
 pub use solana_client;
 pub use solana_sdk;