FuelLabs / fuel-indexer

🗃 The Fuel indexer is a standalone service that can be used to index various components of the Fuel blockchain.
https://docs.fuel.network/docs/indexer/
140 stars 66 forks source link

fix: include `std` feature on `strum` dependency #1522

Closed deekerno closed 6 months ago

deekerno commented 6 months ago

Description

Includes std feature for strum in fuel-indexer-api-server.

Testing steps

For some odd reason, I was unable to build the fuel-indexer package due to the following error:

error[E0599]: the method `as_dyn_error` exists for reference `&ParseError`, but its trait bounds were not satisfied
   --> packages/fuel-indexer-api-server/src/api.rs:105:18
    |
105 |     ParseError(#[from] strum::ParseError),
    |                  ^^^^ method cannot be called on `&ParseError` due to unsatisfied trait bounds
    |

Try to build on develop, and then try to build on this branch; you should see that it works in the latter.