add cargo dep

This commit is contained in:
Dmitry Shibanov
2020-07-07 12:16:42 +03:00
parent 9ed8bbbc63
commit 344225a964
4 changed files with 34 additions and 1 deletions

View File

@@ -37,6 +37,21 @@ function Get-RustVersion {
return "Rust ${rustVersion}"
}
function Get-BindgenVersion {
return & bindgen --version
}
function Get-CbindgenVersion {
return & cbindgen --version
}
function Get-CargoauditVersion {
return & cargo audit --version
}
function Get-CargooutdatedVersion {
return & cargo outdated --version
}
function Get-PythonVersion {
return & python --version
}

View File

@@ -38,6 +38,14 @@ $markdown += New-MDList -Style Unordered -Lines @(
(Get-NodeVersion)
)
$markdown += New-MDHeader "Rust packages:" -Level 3
$markdown += New-MDList -Style Unordered -Lines @(
(Get-BindgenVersion),
(Get-CbindgenVersion),
(Get-CargoauditVersion),
(Get-CargooutdatedVersion)
)
$markdown += New-MDHeader "Package Management" -Level 3
$markdown += New-MDList -Style Unordered -Lines @(
(Get-ChocoVersion),