FuelLabs / fuels-rs

Fuel Network Rust SDK
https://fuellabs.github.io/fuels-rs
Apache License 2.0
44.17k stars 1.34k forks source link

bug: fix cargo publish #1403

Closed segfault-magnet closed 4 months ago

segfault-magnet commented 4 months ago

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