From 876fa21bcb27e99fd166019f3262b6f76e327488 Mon Sep 17 00:00:00 2001 From: daimond113 <72147841+daimond113@users.noreply.github.com> Date: Sun, 11 Aug 2024 18:57:04 +0200 Subject: [PATCH] fix: use correct name field name for wally dependencies --- src/cli/commands/add.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/commands/add.rs b/src/cli/commands/add.rs index 02e01e8..182057c 100644 --- a/src/cli/commands/add.rs +++ b/src/cli/commands/add.rs @@ -165,7 +165,7 @@ impl AddCommand { } #[cfg(feature = "wally-compat")] DependencySpecifiers::Wally(spec) => { - manifest[dependency_key][alias]["name"] = + manifest[dependency_key][alias]["wally"] = toml_edit::value(spec.name.clone().to_string()); manifest[dependency_key][alias]["version"] = toml_edit::value(format!("^{}", version_id.version()));