Specifying the version of Crystal in Homebrew

You could probably use GitHub’s API to grab a Crystal binary of the correct version. Just look up a release by the tag name, which is the same as a version number.