Mess with build parameters to make component binary smaller

This commit is contained in:
Michael Mikovsky
2025-12-20 14:08:17 -07:00
parent 514dd5c87b
commit c8cfa685ec
15 changed files with 76 additions and 23 deletions
+2 -2
View File
@@ -494,9 +494,9 @@ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
[[package]]
name = "ryu"
version = "1.0.20"
version = "1.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
checksum = "62049b2877bf12821e8f9ad256ee38fdc31db7387ec2d3b3f403024de2034aea"
[[package]]
name = "scopeguard"
+1
View File
@@ -23,6 +23,7 @@ chrono = "0.4.42"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
libc = "0.2.177"
rand = "0.9.2"
crossbeam-channel = "0.5.15"
+4 -5
View File
@@ -6,12 +6,11 @@ use crate::config::RuntimeConfig;
#[derive(Clone, Debug, Encode, Decode)]
pub enum Announcement {
TestAnnouncement(String),
// GetRuntimes,
// GetRuntimesAck(usize),
GetRuntimes,
GetRuntimesAck(usize),
StartRuntime(RuntimeConfig),
StartRuntimeAck(bool),
// StartRuntime(RuntimeConfig),
// StartRuntimeAck(bool),
}
const BINCODE_CONFIG: bincode::config::Configuration = bincode::config::standard();
+1 -1
View File
@@ -21,7 +21,7 @@ pub struct PayloadConfig {
pub runtime_config: Vec<RuntimeConfig>,
}
#[derive(Debug, Clone, Encode, Decode)]
#[derive(Debug, Clone)]
pub struct RuntimeConfig {
pub parent_component: String,
pub name: String,