refactor: upgrade to v1.0.0 with enum-based event architecture

This commit is contained in:
ysq
2025-10-12 22:38:50 +08:00
parent f2802a5a59
commit f85581ec61
10 changed files with 884 additions and 124 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ async fn test_shreds() -> Result<(), Box<dyn std::error::Error>> {
println!("Subscribing to ShredStream events...");
// Create low-latency configuration
let mut config = StreamClientConfig::low_latency();
let mut config = StreamClientConfig::default();
// Enable performance monitoring, has performance overhead, disabled by default
config.enable_metrics = true;
let shred_stream =