- Rename tli/ directory to fxt/, update package + binary name to "fxt" - Replace all `use tli::` → `use fxt::` across 52 Rust files - Update build.rs proto paths (tli/proto → fxt/proto) in 6 services - Update Dockerfiles, CI workflows, deploy.sh for new paths - Delete ~170 legacy shell scripts (kept 15 essential ones) - Delete RunPod Python client (runpod/), tests (tests/runpod/) - Delete foxhunt-deploy crate (RunPod-only deployment tool) - Delete terraform/runpod/ (moved to Scaleway) - Delete ML Python hyperopt scripts (replaced by Rust Argmin PSO) - Delete .gitlab-ci.yml (using GitHub + Gitea) - Remove foxhunt-deploy from workspace members 504 files changed, -74,355 lines of legacy code removed. Workspace compiles clean (0 errors, 0 warnings). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
1.1 KiB
Rust
29 lines
1.1 KiB
Rust
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
tonic_prost_build::configure()
|
|
.build_server(false)
|
|
.build_client(true)
|
|
.type_attribute(".", "#[derive(serde::Serialize, serde::Deserialize)]")
|
|
.client_mod_attribute(".", "#[allow(unused_qualifications)]")
|
|
.protoc_arg("--experimental_allow_proto3_optional")
|
|
.compile_protos(
|
|
&[
|
|
"../fxt/proto/trading.proto",
|
|
"../fxt/proto/health.proto",
|
|
"../fxt/proto/ml.proto",
|
|
"../fxt/proto/config.proto",
|
|
"../fxt/proto/ml_training.proto",
|
|
"../fxt/proto/trading_agent.proto",
|
|
],
|
|
&["../fxt/proto"],
|
|
)?;
|
|
|
|
println!("cargo:rerun-if-changed=../fxt/proto/trading.proto");
|
|
println!("cargo:rerun-if-changed=../fxt/proto/health.proto");
|
|
println!("cargo:rerun-if-changed=../fxt/proto/ml.proto");
|
|
println!("cargo:rerun-if-changed=../fxt/proto/config.proto");
|
|
println!("cargo:rerun-if-changed=../fxt/proto/ml_training.proto");
|
|
println!("cargo:rerun-if-changed=../fxt/proto/trading_agent.proto");
|
|
|
|
Ok(())
|
|
}
|