diff --git a/rust/cargo-psibase/src/package.rs b/rust/cargo-psibase/src/package.rs index 0887614ac..7ed168583 100644 --- a/rust/cargo-psibase/src/package.rs +++ b/rust/cargo-psibase/src/package.rs @@ -326,13 +326,14 @@ pub async fn build_package( } }; - let meta = Meta { + let mut meta = Meta { name: package_name.to_string(), version: package_version.to_string(), description: package_description.unwrap_or_else(|| package_name.to_string()), depends, accounts, }; + meta.depends.sort_by(|a, b| a.name.cmp(&b.name)); let mut service_wasms = Vec::new(); for (service, info, id) in services {