Closed Quba1 closed 2 years ago
Yes, I should have mentioned the required crate versions for the code.
@Quba1 Version 0.4.0 has now been released. Thank you for waiting.
I think this issue can be safely closed now. If you think the problem persists, please reopen the issue.
Simple Description on the Bug
Copying and pasting
list_surfaces.rs
example intomain.rs
of a new binary crate and addinggrib = "0.3.0"
as a dependency intoCargo.toml
results in build errors.Steps to Reproduce
cargo new
list_surfaces.rs
from examples intomain.rs
grib = "0.3.0"
as a dependency intoCargo.toml
Expected Behavior
No build errors. Example should just successfully compile and run.
Actual Behavior
Build errors:
Additional Context
The examples build correctly when the latest crate version from the repo is linked (`git clone --recurse-submodules -j8 https://github.com/noritada/grib-rs.git and link the crate locally). So the example is working just okay, and the issue is with the outdated version of the crate published on crates.io
Thus, the solution is simply updating the crate on crates.io (see issue #9).