Merge branch 'main' of github.com:0xfnzero/solana-streamer into main

This commit is contained in:
wood
2025-07-20 00:03:28 +08:00
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
[package] [package]
name = "solana-streamer" name = "solana-streamer-sdk"
version = "0.1.0" version = "0.1.0"
edition = "2021" edition = "2021"
authors = ["William <byteblock6@gmail.com>", "sgxiang <sgxiang@gmail.com>", "wei <1415121722@qq.com>"] authors = ["William <byteblock6@gmail.com>", "sgxiang <sgxiang@gmail.com>", "wei <1415121722@qq.com>"]
+2 -2
View File
@@ -31,13 +31,13 @@ Add the dependency to your `Cargo.toml`:
```toml ```toml
# Add to your Cargo.toml # Add to your Cargo.toml
solana-streamer = { path = "./solana-streamer", version = "0.1.0" } solana-streamer-sdk = { path = "./solana-streamer", version = "0.1.0" }
``` ```
## Usage Examples ## Usage Examples
```rust ```rust
use solana_streamer::{ use solana_streamer_sdk::{
match_event, match_event,
streaming::{ streaming::{
event_parser::{ event_parser::{
+2 -2
View File
@@ -31,13 +31,13 @@ git clone https://github.com/0xfnzero/solana-streamer
```toml ```toml
# 添加到您的 Cargo.toml # 添加到您的 Cargo.toml
solana-streamer = { path = "./solana-streamer", version = "0.1.0" } solana-streamer-sdk = { path = "./solana-streamer", version = "0.1.0" }
``` ```
## 使用示例 ## 使用示例
```rust ```rust
use solana_streamer::{ use solana_streamer_sdk::{
match_event, match_event,
streaming::{ streaming::{
event_parser::{ event_parser::{
+1 -1
View File
@@ -1,4 +1,4 @@
use solana_streamer::{ use solana_streamer_sdk::{
match_event, match_event,
streaming::{ streaming::{
event_parser::{ event_parser::{