Sort rust dependencies in tree view

This commit is contained in:
Erik Steiger 2023-05-05 14:41:03 +02:00
parent e461e53f01
commit 06cfeb47b2

View file

@ -89,6 +89,8 @@ export class RustDependenciesProvider
const dep = this.toDep(crate.name || "unknown", crate.version || "", crate.path);
this.dependenciesMap[dep.dependencyPath.toLowerCase()] = dep;
return dep;
}).sort((a, b) => {
return a.label.localeCompare(b.label)
});
}