Skip to content

Commit 8f059ab

Browse files
committed
rust 1.0.2
1 parent e330e76 commit 8f059ab

File tree

3 files changed

+64
-48
lines changed

3 files changed

+64
-48
lines changed

rust/package/Cargo.lock

Lines changed: 61 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/package/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "xnode-manager-sdk"
33
description = "Rust Software Development Kit for interacting with Xnode Manager"
4-
version = "1.0.1"
4+
version = "1.0.2"
55
edition = "2024"
66
repository = "https://github.com/Openmesh-Network/xnode-manager-sdk"
77
license = "MIT"

rust/package/src/config/models.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ pub struct ContainerConfiguration {
55
pub flake: String,
66
pub flake_lock: Option<String>,
77
pub network: Option<String>,
8+
pub nvidia_gpus: Option<Vec<u64>>,
89
}
910

1011
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]
1112
pub struct ContainerSettings {
1213
pub flake: String,
1314
pub network: Option<String>,
15+
pub nvidia_gpus: Option<Vec<u64>>,
1416
}
1517

1618
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq)]

0 commit comments

Comments
 (0)