- 13 commands with full gRPC implementations: service, train, tune, model, trade, broker, agent, data, risk, config, cluster, auth, backtest - Streaming support: train logs --follow, broker executions --follow - --json output on every command via OutputFormat/HumanReadable - Fix web-gateway monitoring URL default (50057 → 50051, API Gateway) - Rewire 7 remaining build.rs to consolidated proto/ root (web-gateway, backtesting_service, training_uploader, 3 test crates, e2e) - Fix web-gateway ml_training.proto new fields (mode, max_epochs, resume) - 75 fxt tests + 139 web-gateway tests, 0 clippy warnings, workspace clean Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
525 B
Rust
12 lines
525 B
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
// NOTE: Tonic 0.14+ uses tonic_prost_build instead of tonic_build
|
|
tonic_prost_build::configure()
|
|
.build_server(true)
|
|
.build_client(false)
|
|
// Suppress warnings in generated code
|
|
.server_mod_attribute(".", "#[allow(unused_qualifications, missing_docs)]")
|
|
.client_mod_attribute(".", "#[allow(unused_qualifications, missing_docs)]")
|
|
.compile_protos(&["../../proto/fxt_trading.proto"], &["../../proto"])?;
|
|
Ok(())
|
|
}
|