crystal-lang / shards

Dependency manager for the Crystal language
Other
765 stars 102 forks source link

Use Package for locks and installed shards #428

Closed waj closed 4 years ago

waj commented 4 years ago

This is the followup from #426. Previously, locks and installed shards were represented as Dependency with a Version requirement. But that forces to do castings and checks on many places. With this change the code is simplified, and the check for invalid dependency is only done while parsing.