Sets default-features = false for postcard

This fixes a build break that happened without any intervening commit in
our repo. How that could happen is not yet pinpointed, and there has
been no increment in the minor version number of postcard for 2 months.

It appears that postcard was somehow triggering serde to use std, which
is a default feature for serde.

Change-Id: I7ed989976aa1bf75cb440c4070565452571d7306
GitOrigin-RevId: f35b7677e995e5e8245c583ca2c355a04306aea2
This commit is contained in:
Matt Harvey 2021-09-24 17:26:44 -07:00 committed by Sam Leffler
parent 49c4a251bc
commit 5c3a68f7ac
8 changed files with 8 additions and 8 deletions

View File

@ -12,4 +12,4 @@ kata-proc-common = { path = "../../ProcessManager/kata-proc-common" }
kata-security-interface = { path = "../../SecurityCoordinator/kata-security-interface" }
kata-storage-interface = { path = "../../StorageManager/kata-storage-interface" }
log = "0.4"
postcard = { version = "0.7", features = ["alloc"] }
postcard = { version = "0.7", features = ["alloc"], default-features = false }

View File

@ -5,5 +5,5 @@ edition = "2018"
[dependencies]
kata-security-interface = { path = "../../SecurityCoordinator/kata-security-interface" }
postcard = { version = "0.7", features = ["alloc"] }
postcard = { version = "0.7", features = ["alloc"], default-features = false }
serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] }

View File

@ -11,7 +11,7 @@ kata-panic = { path = "../../DebugConsole/kata-panic" }
kata-proc-common = { path = "../kata-proc-common" }
kata-proc-manager = { path = "../kata-proc-manager" }
log = "0.4"
postcard = { version = "0.7", features = ["alloc"] }
postcard = { version = "0.7", features = ["alloc"], default-features = false }
[lib]
name = "kata_process_manager"

View File

@ -9,6 +9,6 @@ hashbrown = { version = "0.11", features = ["ahash-compile-time-rng"] }
kata-proc-common = { path = "../kata-proc-common" }
kata-security-interface = { path = "../../SecurityCoordinator/kata-security-interface" }
log = "0.4"
postcard = "0.7"
postcard = { version = "0.7", features = ["alloc"], default-features = false }
smallstr = "0.2"
spin = "0.9"

View File

@ -13,4 +13,4 @@ hashbrown = { version = "0.11", features = ["ahash-compile-time-rng"] }
kata-security-interface = { path = "../kata-security-interface" }
kata-storage-interface = { path = "../../StorageManager/kata-storage-interface" }
log = "0.4"
postcard = "0.7"
postcard = { version = "0.7", features = ["alloc"], default-features = false }

View File

@ -4,6 +4,6 @@ version = "0.1.0"
edition = "2018"
[dependencies]
postcard = "0.7"
postcard = { version = "0.7", features = ["alloc"], default-features = false }
serde = { version = "1.0", default-features = false, features = ["alloc", "derive"] }
serde-big-array = "0.3"

View File

@ -11,7 +11,7 @@ kata-panic = { path = "../../DebugConsole/kata-panic" }
kata-storage-interface = { path = "../kata-storage-interface" }
kata-storage-manager = { path = "../kata-storage-manager" }
log = "0.4"
postcard = "0.7"
postcard = { version = "0.7", features = ["alloc"], default-features = false }
[lib]
name = "kata_storage_manager"

View File

@ -6,4 +6,4 @@ edition = "2018"
[dependencies]
cstr_core = "0.2"
kata-security-interface = { path = "../../SecurityCoordinator/kata-security-interface" }
postcard = "0.7"
postcard = { version = "0.7", features = ["alloc"], default-features = false }