servicing
Advanced tools
+27
-27
@@ -100,5 +100,5 @@ # This file is automatically @generated by Cargo. | ||
| name = "base64" | ||
| version = "0.22.0" | ||
| version = "0.22.1" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "9475866fec1451be56a3c2400fd081ff546538961565ccb5b7142cbd22bc7a51" | ||
| checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" | ||
@@ -140,5 +140,5 @@ [[package]] | ||
| name = "cc" | ||
| version = "1.0.95" | ||
| version = "1.0.96" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "d32a725bc159af97c3e629873bb9f88fb8cf8a4867175f76dc987815ea07c83b" | ||
| checksum = "065a29261d53ba54260972629f9ca6bffa69bac13cd1fed61420f7fa68b9f8bd" | ||
@@ -244,5 +244,5 @@ [[package]] | ||
| name = "fastrand" | ||
| version = "2.0.2" | ||
| version = "2.1.0" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "658bd65b1cf4c852a3cc96f18a8ce7b5640f6b703f905c7d74532294c2a63984" | ||
| checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" | ||
@@ -406,5 +406,5 @@ [[package]] | ||
| name = "hashbrown" | ||
| version = "0.14.3" | ||
| version = "0.14.5" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" | ||
| checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" | ||
@@ -580,5 +580,5 @@ [[package]] | ||
| name = "libc" | ||
| version = "0.2.153" | ||
| version = "0.2.154" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" | ||
| checksum = "ae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346" | ||
@@ -603,5 +603,5 @@ [[package]] | ||
| name = "lock_api" | ||
| version = "0.4.11" | ||
| version = "0.4.12" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" | ||
| checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" | ||
| dependencies = [ | ||
@@ -754,5 +754,5 @@ "autocfg", | ||
| name = "parking_lot" | ||
| version = "0.12.1" | ||
| version = "0.12.2" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" | ||
| checksum = "7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fb" | ||
| dependencies = [ | ||
@@ -765,5 +765,5 @@ "lock_api", | ||
| name = "parking_lot_core" | ||
| version = "0.9.9" | ||
| version = "0.9.10" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" | ||
| checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" | ||
| dependencies = [ | ||
@@ -774,3 +774,3 @@ "cfg-if", | ||
| "smallvec", | ||
| "windows-targets 0.48.5", | ||
| "windows-targets 0.52.5", | ||
| ] | ||
@@ -911,7 +911,7 @@ | ||
| name = "redox_syscall" | ||
| version = "0.4.1" | ||
| version = "0.5.1" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" | ||
| checksum = "469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7e" | ||
| dependencies = [ | ||
| "bitflags 1.3.2", | ||
| "bitflags 2.5.0", | ||
| ] | ||
@@ -1082,5 +1082,5 @@ | ||
| name = "serde" | ||
| version = "1.0.198" | ||
| version = "1.0.199" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "9846a40c979031340571da2545a4e5b7c4163bdae79b301d5f86d03979451fcc" | ||
| checksum = "0c9f6e76df036c77cd94996771fb40db98187f096dd0b9af39c6c6e452ba966a" | ||
| dependencies = [ | ||
@@ -1092,5 +1092,5 @@ "serde_derive", | ||
| name = "serde_derive" | ||
| version = "1.0.198" | ||
| version = "1.0.199" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9" | ||
| checksum = "11bd257a6541e141e42ca6d24ae26f7714887b47e89aa739099104c7e4d3b7fc" | ||
| dependencies = [ | ||
@@ -1140,3 +1140,3 @@ "proc-macro2", | ||
| name = "servicing" | ||
| version = "0.0.7" | ||
| version = "0.0.8" | ||
| dependencies = [ | ||
@@ -1185,5 +1185,5 @@ "base64", | ||
| name = "socket2" | ||
| version = "0.5.6" | ||
| version = "0.5.7" | ||
| source = "registry+https://github.com/rust-lang/crates.io-index" | ||
| checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871" | ||
| checksum = "ce305eb0b4296696835b71df73eb912e0f1ffd2556a501fcede6e0c50349191c" | ||
| dependencies = [ | ||
@@ -1190,0 +1190,0 @@ "libc", |
+1
-1
| [package] | ||
| name = "servicing" | ||
| version = "0.0.7" | ||
| version = "0.0.8" | ||
| edition = "2021" | ||
@@ -5,0 +5,0 @@ |
+1
-1
| Metadata-Version: 2.3 | ||
| Name: servicing | ||
| Version: 0.0.7 | ||
| Version: 0.0.8 | ||
| Classifier: Programming Language :: Rust | ||
@@ -5,0 +5,0 @@ Classifier: Programming Language :: Python :: Implementation :: CPython |
+2
-0
@@ -15,2 +15,3 @@ from typing import List, Optional | ||
| :param memory: the memory upper bound of the service | ||
| :param accelerators: the GPU upper bound of the service | ||
| :param setup: the setup command of the service | ||
@@ -28,2 +29,3 @@ :param run: the run command of the service | ||
| memory: Optional[str] = None, | ||
| accelerators: Optional[str] = None, | ||
| setup: Optional[str] = None, | ||
@@ -30,0 +32,0 @@ run: Optional[str] = None) -> None: ... |
@@ -520,2 +520,3 @@ #![allow(dead_code)] // Remove this later | ||
| cpu: None, | ||
| accelerators: None, | ||
| memory: None, | ||
@@ -522,0 +523,0 @@ }), |
+10
-0
@@ -14,2 +14,3 @@ use pyo3::{pyclass, pymethods}; | ||
| pub memory: Option<String>, | ||
| pub accelerators: Option<String>, | ||
| pub setup: Option<String>, | ||
@@ -31,2 +32,3 @@ pub run: Option<String>, | ||
| memory: Option<String>, | ||
| accelerators: Option<String>, | ||
| setup: Option<String>, | ||
@@ -43,2 +45,3 @@ run: Option<String>, | ||
| memory, | ||
| accelerators, | ||
| setup, | ||
@@ -82,2 +85,5 @@ run, | ||
| } | ||
| if let Some(accelerators) = &config.accelerators { | ||
| self.resources.accelerators = Some(accelerators.clone()); | ||
| } | ||
| if let Some(setup) = &config.setup { | ||
@@ -110,2 +116,4 @@ self.setup = setup.clone(); | ||
| pub disk_size: u16, | ||
| #[serde(skip_serializing_if = "Option::is_none")] | ||
| pub accelerators: Option<String>, | ||
| } | ||
@@ -124,2 +132,3 @@ | ||
| memory: "10+".to_string(), | ||
| accelerators: None, | ||
| cloud: "aws".to_string(), | ||
@@ -148,2 +157,3 @@ disk_size: 100, | ||
| memory: "10+".to_string(), | ||
| accelerators: None, | ||
| cloud: "aws".to_string(), | ||
@@ -150,0 +160,0 @@ disk_size: 50, |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
85429
0.65%98
2.08%