fastly / compute-starter-kit-rust-default

Default package template for Rust based Compute projects
https://fastly.dev/solutions/starters/compute-starter-kit-rust-default/
MIT License
50 stars 21 forks source link

Lower dependency version and delete Cargo.lock #69

Closed harmony7 closed 8 months ago

harmony7 commented 8 months ago

This PR lowers the dependency version of fastly crate to ^0.9.0 and removes Cargo.lock.

In a starter kit, we should declare a version of the SDK that has the features needed (^0.9 in this case), as well as dependencies. And by not including Cargo.lock, the user always gets the newest compatible version at the time their project is initialized, and a new lock file that they would commit to their new project's code repo.