diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-12-01 18:07:32 +0100 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2023-12-01 18:07:32 +0100 |
commit | b414780b4a6c058db4ceee72ed07a37bd878c069 (patch) | |
tree | e36710f208848469dddf7d616270e20a69742ec1 /src/main.rs | |
parent | 7117e045445261b55f23e68385fa8e58529ccd88 (diff) |
update cargo
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 4eb01ed..bacea51 100644 --- a/src/main.rs +++ b/src/main.rs @@ -407,7 +407,7 @@ fn write_root( cargo::ops::install( &cargo_opts, Some(tmp_dir.path().to_str().unwrap()), // root (output dir) - vec![(crate_name, None)], + vec![(crate_name.to_string(), None)], SourceId::crates_io(&CargoConfig::default()?)?, false, // from_cwd &compile_opts, @@ -434,7 +434,7 @@ fn write_root( cargo::ops::install( &cargo_opts, Some(tmp_dir.path().to_str().unwrap()), // root (output dir) - vec![(pkg, None)], + vec![(pkg.to_string(), None)], SourceId::from_url(&("git+".to_owned() + url.as_str()))?, false, // from_cwd &compile_opts, |