Skip to content

Commit 222050f

Browse files
committed
manifest: fix serialization of component dependency section
Signed-off-by: karthik2804 <[email protected]>
1 parent 21c66f4 commit 222050f

File tree

1 file changed

+1
-1
lines changed
  • crates/manifest/src/schema

1 file changed

+1
-1
lines changed

crates/manifest/src/schema/v2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ pub struct Component {
197197

198198
/// Component dependencies
199199
#[derive(Clone, Debug, Default, Serialize, Deserialize)]
200-
#[serde(try_from = "Map<DependencyName, ComponentDependency>")]
200+
#[serde(transparent)]
201201
pub struct ComponentDependencies {
202202
/// `dependencies = { "foo:bar" = ">= 0.1.0" }`
203203
pub inner: Map<DependencyName, ComponentDependency>,

0 commit comments

Comments
 (0)