feat: Read default executors at compile time into a json

This way we don't have issues with paths and trying to read files that are at other locations after compile time

--- don't change below this line ---
ENG-4088 Took 44 seconds

Took 52 seconds
This commit is contained in:
Diana Carvalho
2025-02-06 12:39:19 +00:00
parent c791c93cb5
commit f5232f403e
4 changed files with 20 additions and 16 deletions

View File

@@ -1 +1,2 @@
pub const DEFAULT_EXECUTORS_FILE_PATH: &str = "src/encoding/config/executor_addresses.json";
pub const DEFAULT_EXECUTORS_JSON: &str =
include_str!("../../../src/encoding/config/executor_addresses.json");