mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 11:00:36 +00:00
feat(registry): return package dependencies
This commit is contained in:
parent
b3f0a3cbfb
commit
d2e04f49d0
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ pub async fn get_package_version(
|
|||
|
||||
let mut value = serde_json::to_value(response)?;
|
||||
value["docs"] = serde_json::to_value(entry.docs.clone())?;
|
||||
value["dependencies"] = serde_json::to_value(entry.dependencies.clone())?;
|
||||
|
||||
Ok(HttpResponse::Ok().json(value))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue