near / near-sdk-rs

Rust library for writing NEAR smart contracts
https://near-sdk.io
Apache License 2.0
455 stars 243 forks source link

Remove `*` from `Cargo.toml` in http://examples.near.org/ #271

Closed MaksymZavershynskyi closed 3 years ago

MaksymZavershynskyi commented 3 years ago

Notation like this https://github.com/near-examples/rust-counter/blob/master/contract/Cargo.toml#L12-L13 gives no guarantee on what package is going to be fetched. I just tried compiling rust-counter on a fresh new macbook pro and it did not compile because of the version conflict between borsh and near-sdk-rs.

willemneal commented 3 years ago

Also those deps are provided by near_sdk now.

austinabell commented 3 years ago

Specific version is provided as well as a lockfile now