Method: Bibliothecary::Parsers::Cargo.parse_manifest
- Defined in:
- lib/bibliothecary/parsers/cargo.rb
.parse_manifest(manifest) ⇒ Object
22 23 24 25 26 27 28 29 30 |
# File 'lib/bibliothecary/parsers/cargo.rb', line 22 def self.parse_manifest(manifest) manifest.fetch('dependencies', []).map do |name, requirement| { name: name, requirement: requirement, type: 'runtime' } end end |