rustpkg: Finish declarative compiling and fetching via git or curl (no workcache or dependency resolution yet)