fuels-rs
fuels-rs copied to clipboard
Possible to make `fuels_core` WASM compatible?
- On the indexer team we have a really really old bug/hack that we'd like to finally fix
- https://github.com/FuelLabs/fuel-indexer/issues/408
- The issue is related to some dependency that the indexer uses, pulling in
fuel-tx
default features - On the indexer, we always specify
default-features = false
forfuel-tx
- However, due to cargo workspace dependency unification if some other dependency pulls in
fuel-tx
default features, it doesn't matter that the indexer doesn't directly importfuel-tx
default features- The default features will still be pulled in, even if any indexer dependency is pulling in the default features
-
As of now, the culprit seems to be
fuels_core
- Is it possible to make
fuels_core
not pull in these default features fromfuel-tx
? - We won't be able to fix our issue/hack ☝🏽 until this is possible
- Without fixing this hack, users won't be able to use WASM-friendly crates such as
tai64
orchrono
- so there's user impact
CC @digorithm @segfault-magnet
~~blocked by: https://github.com/FuelLabs/fuel-vm/issues/443~~
Now it is blocked by: https://github.com/FuelLabs/fuel-core/issues/1370