using include! with paths that lead out of the current crate will lead to cargo publish failures since, when publishing, you only have the current crate code available.
Workaround is to have version.rs now live near the Provider and the fuel version checker will have a cargo dep on fuels-accounts to get it, as will the e2e tests.
Even though e2e tests aren't published, I've updated them as well to use fuels-accounts even though it may add a few seconds to the build stage.
Checklist
[ ] I have linked to any relevant issues.
[ ] I have updated the documentation.
[ ] I have added tests that prove my fix is effective or that my feature works.
using
include!
with paths that lead out of the current crate will lead tocargo publish
failures since, when publishing, you only have the current crate code available.Workaround is to have
version.rs
now live near theProvider
and the fuel version checker will have a cargo dep onfuels-accounts
to get it, as will thee2e
tests.Even though
e2e
tests aren't published, I've updated them as well to usefuels-accounts
even though it may add a few seconds to the build stage.Checklist