PkgDependency.jl
Print dependency tree of a project or package.
Supported features include:
- Reverse dependency tree
- Show compat info in tree
- Show repo link in tree (needs at least Julia 1.7)
Installation
In julia REPL, type ]
to enter package manager:
pkg> add PkgDependency
Changelog
See CHANGELOG.md.
Usage
Call PkgDependency.tree
. Repeated dependencies are marked as (*)
.
julia> using PkgDependency
julia> PkgDependency.tree("CSV")
CSV v0.10.4
━━━━━━━━━━━━━
│
├── InlineStrings v1.1.4
│ └── Parsers v2.3.2
├── PooledArrays v1.4.2
│ └── DataAPI v1.10.0
├── WeakRefStrings v1.4.2
│ ├── DataAPI v1.10.0 (*)
│ ├── InlineStrings v1.1.4 (*)
│ └── Parsers v2.3.2 (*)
├── CodecZlib v0.7.0
│ └── TranscodingStreams v0.9.8
├── Tables v1.7.0
│ ├── DataAPI v1.10.0 (*)
│ ├── OrderedCollections v1.4.1
│ ├── IteratorInterfaceExtensions v1.0.0
│ ├── DataValueInterfaces v1.0.0
│ └── TableTraits v1.0.1
│ └── IteratorInterfaceExtensions v1.0.0 (*)
├── FilePathsBase v0.9.19
│ └── Compat v4.2.0
├── Parsers v2.3.2 (*)
└── SentinelArrays v1.3.13
Contribution
Feel free to create issues if you want more features!