Skip to content

Commit 51f0e49

Browse files
committed
Fix no_std issue for dstack-sdk-types
1 parent 6e2150f commit 51f0e49

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ resolver = "2"
5050
# Internal dependencies
5151
ra-rpc = { path = "ra-rpc", default-features = false }
5252
ra-tls = { path = "ra-tls" }
53-
dstack-sdk-types = { path = "sdk/rust/types" }
53+
dstack-sdk-types = { path = "sdk/rust/types", default-features = false }
5454
dstack-gateway-rpc = { path = "gateway/rpc" }
5555
dstack-kms-rpc = { path = "kms/rpc" }
5656
dstack-guest-agent-rpc = { path = "guest-agent/rpc" }
@@ -95,7 +95,7 @@ sd-notify = "0.4.5"
9595
jemallocator = "0.5.4"
9696

9797
# Serialization/Parsing
98-
borsh = { version = "1.5.7", features = ["derive"] }
98+
borsh = { version = "1.5.7", default-features = false, features = ["derive"] }
9999
bon = { version = "3.4.0", default-features = false }
100100
base64 = "0.22.1"
101101
hex = { version = "0.4.3", default-features = false }

sdk/rust/types/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ std = [
3131
"serde/std",
3232
"serde_json/std",
3333
"sha2/std",
34+
"borsh?/std"
3435
]

0 commit comments

Comments
 (0)