feat: upgrade to v0.2.3

This commit is contained in:
ysq
2025-08-12 10:31:55 +08:00
parent 9dfa295133
commit 5d1efa3c1e
4 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "solana-streamer-sdk"
version = "0.2.2"
version = "0.2.3"
edition = "2021"
authors = ["William <byteblock6@gmail.com>", "sgxiang <sgxiang@gmail.com>", "wei <1415121722@qq.com>"]
repository = "https://github.com/0xfnzero/solana-streamer"
+2 -2
View File
@@ -42,14 +42,14 @@ Add the dependency to your `Cargo.toml`:
```toml
# Add to your Cargo.toml
solana-streamer-sdk = { path = "./solana-streamer", version = "0.2.2" }
solana-streamer-sdk = { path = "./solana-streamer", version = "0.2.3" }
```
### Use crates.io
```toml
# Add to your Cargo.toml
solana-streamer-sdk = "0.2.2"
solana-streamer-sdk = "0.2.3"
```
## Usage Examples
+2 -2
View File
@@ -42,14 +42,14 @@ git clone https://github.com/0xfnzero/solana-streamer
```toml
# 添加到您的 Cargo.toml
solana-streamer-sdk = { path = "./solana-streamer", version = "0.2.2" }
solana-streamer-sdk = { path = "./solana-streamer", version = "0.2.3" }
```
### 使用 crates.io
```toml
# 添加到您的 Cargo.toml
solana-streamer-sdk = "0.2.2"
solana-streamer-sdk = "0.2.3"
```
## 使用示例
@@ -60,6 +60,11 @@ pub struct PumpFunTradeEvent {
pub creator: Pubkey,
pub creator_fee_basis_points: u64,
pub creator_fee: u64,
pub track_volume: bool,
pub total_unclaimed_tokens: u64,
pub total_claimed_tokens: u64,
pub current_sol_volume: u64,
pub last_update_timestamp: i64,
#[borsh(skip)]
pub bonding_curve: Pubkey,
#[borsh(skip)]