Files
foxhunt/data/examples/databento_demo.rs
jgrusewski 6093eac7bf 🔧 Tonic 0.14 Upgrade: Auto-generated and build system changes
Wave 64-65 cleanup: Proto regeneration and build system updates from Tonic 0.12→0.14 upgrade

Files updated:
- Cargo.lock: Dependency resolution for Tonic 0.14.2
- All build.rs: Updated for tonic-prost-build
- Proto files: Regenerated with tonic-prost 0.14
- Examples/tests: Updated for new gRPC API

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-03 07:34:26 +02:00

44 lines
1.3 KiB
Rust

//! COMMENTED OUT - Example temporarily disabled
//! This example needs to be updated for the new Databento provider API
//!
//! # Databento Provider Demo
//!
//! This example demonstrates how to use the DatabentoProvider for high-performance
//! market data ingestion in the Foxhunt HFT system.
//!
//! ## Usage
//!
//! ```bash
//! # Set your Databento API key
//! export DATABENTO_API_KEY="your_api_key_here"
//!
//! # Run the demo
//! cargo run --example databento_demo --features databento
//! ```
//!
//! NOTE: This example is temporarily disabled pending updates to match the new
//! Databento provider architecture. See crates/data/src/providers/databento/mod.rs
//! for the current API.
#![allow(unused_crate_dependencies)]
/* EXAMPLE TEMPORARILY DISABLED - requires API updates
use anyhow::Result;
use data::providers::databento::{DatabentoConfig, DatabentoStreamingProvider};
use std::time::Duration;
use tokio::time;
use tracing::{error, info, warn};
#[tokio::main]
async fn main() -> Result<()> {
// Placeholder implementation - see mod.rs for actual API
println!("Databento demo temporarily disabled - API migration in progress");
Ok(())
}
*/
// Placeholder main to satisfy Rust's requirement for examples
fn main() {
println!("This example is temporarily disabled. See databento_demo.rs for details.");
}