diff options
| author | diogo464 <[email protected]> | 2025-06-27 11:16:17 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-06-27 11:16:17 +0100 |
| commit | 05a4270072483748d9a7a3c26d7d33a12619e47a (patch) | |
| tree | 2dc4e8c609abea5ca665b4d48cb5df174d90f6e7 /Cargo.lock | |
| parent | 2fdb9e3c8fcb0bb6832b735ed6963d5e8f980d27 (diff) | |
Add OAR job management and IP address allocation
- Add clap for CLI argument parsing with job_id, addresses, and latency_matrix
- Add serde/serde_json for JSON parsing of OAR job data
- Implement oar_network_addresses() to get machine list from OAR job
- Add address_from_index() to map indices to 10.0.0.0/8 IP addresses
- Add machine list with bond0 interfaces for charmander cluster
- Configure musl target build in Justfile for cluster deployment
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 65 |
1 files changed, 65 insertions, 0 deletions
| @@ -122,6 +122,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
| 122 | checksum = "40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f" | 122 | checksum = "40b6887a1d8685cebccf115538db5c0efe625ccac9696ad45c409d96566e910f" |
| 123 | dependencies = [ | 123 | dependencies = [ |
| 124 | "clap_builder", | 124 | "clap_builder", |
| 125 | "clap_derive", | ||
| 125 | ] | 126 | ] |
| 126 | 127 | ||
| 127 | [[package]] | 128 | [[package]] |
| @@ -137,6 +138,18 @@ dependencies = [ | |||
| 137 | ] | 138 | ] |
| 138 | 139 | ||
| 139 | [[package]] | 140 | [[package]] |
| 141 | name = "clap_derive" | ||
| 142 | version = "4.5.40" | ||
| 143 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 144 | checksum = "d2c7947ae4cc3d851207c1adb5b5e260ff0cca11446b1d6d1423788e442257ce" | ||
| 145 | dependencies = [ | ||
| 146 | "heck", | ||
| 147 | "proc-macro2", | ||
| 148 | "quote", | ||
| 149 | "syn", | ||
| 150 | ] | ||
| 151 | |||
| 152 | [[package]] | ||
| 140 | name = "clap_lex" | 153 | name = "clap_lex" |
| 141 | version = "0.7.5" | 154 | version = "0.7.5" |
| 142 | source = "registry+https://github.com/rust-lang/crates.io-index" | 155 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| @@ -192,6 +205,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
| 192 | checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" | 205 | checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" |
| 193 | 206 | ||
| 194 | [[package]] | 207 | [[package]] |
| 208 | name = "heck" | ||
| 209 | version = "0.5.0" | ||
| 210 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 211 | checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" | ||
| 212 | |||
| 213 | [[package]] | ||
| 195 | name = "indenter" | 214 | name = "indenter" |
| 196 | version = "0.3.3" | 215 | version = "0.3.3" |
| 197 | source = "registry+https://github.com/rust-lang/crates.io-index" | 216 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| @@ -204,6 +223,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
| 204 | checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" | 223 | checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" |
| 205 | 224 | ||
| 206 | [[package]] | 225 | [[package]] |
| 226 | name = "itoa" | ||
| 227 | version = "1.0.15" | ||
| 228 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 229 | checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" | ||
| 230 | |||
| 231 | [[package]] | ||
| 207 | name = "lazy_static" | 232 | name = "lazy_static" |
| 208 | version = "1.5.0" | 233 | version = "1.5.0" |
| 209 | source = "registry+https://github.com/rust-lang/crates.io-index" | 234 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| @@ -283,6 +308,8 @@ dependencies = [ | |||
| 283 | "clap", | 308 | "clap", |
| 284 | "color-eyre", | 309 | "color-eyre", |
| 285 | "eyre", | 310 | "eyre", |
| 311 | "serde", | ||
| 312 | "serde_json", | ||
| 286 | "tokio", | 313 | "tokio", |
| 287 | "tracing", | 314 | "tracing", |
| 288 | "tracing-subscriber", | 315 | "tracing-subscriber", |
| @@ -428,12 +455,50 @@ source = "registry+https://github.com/rust-lang/crates.io-index" | |||
| 428 | checksum = "989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f" | 455 | checksum = "989e6739f80c4ad5b13e0fd7fe89531180375b18520cc8c82080e4dc4035b84f" |
| 429 | 456 | ||
| 430 | [[package]] | 457 | [[package]] |
| 458 | name = "ryu" | ||
| 459 | version = "1.0.20" | ||
| 460 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 461 | checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" | ||
| 462 | |||
| 463 | [[package]] | ||
| 431 | name = "scopeguard" | 464 | name = "scopeguard" |
| 432 | version = "1.2.0" | 465 | version = "1.2.0" |
| 433 | source = "registry+https://github.com/rust-lang/crates.io-index" | 466 | source = "registry+https://github.com/rust-lang/crates.io-index" |
| 434 | checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" | 467 | checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" |
| 435 | 468 | ||
| 436 | [[package]] | 469 | [[package]] |
| 470 | name = "serde" | ||
| 471 | version = "1.0.219" | ||
| 472 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 473 | checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" | ||
| 474 | dependencies = [ | ||
| 475 | "serde_derive", | ||
| 476 | ] | ||
| 477 | |||
| 478 | [[package]] | ||
| 479 | name = "serde_derive" | ||
| 480 | version = "1.0.219" | ||
| 481 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 482 | checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" | ||
| 483 | dependencies = [ | ||
| 484 | "proc-macro2", | ||
| 485 | "quote", | ||
| 486 | "syn", | ||
| 487 | ] | ||
| 488 | |||
| 489 | [[package]] | ||
| 490 | name = "serde_json" | ||
| 491 | version = "1.0.140" | ||
| 492 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| 493 | checksum = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" | ||
| 494 | dependencies = [ | ||
| 495 | "itoa", | ||
| 496 | "memchr", | ||
| 497 | "ryu", | ||
| 498 | "serde", | ||
| 499 | ] | ||
| 500 | |||
| 501 | [[package]] | ||
| 437 | name = "sharded-slab" | 502 | name = "sharded-slab" |
| 438 | version = "0.1.7" | 503 | version = "0.1.7" |
| 439 | source = "registry+https://github.com/rust-lang/crates.io-index" | 504 | source = "registry+https://github.com/rust-lang/crates.io-index" |
