Open niklasad1 opened 2 weeks ago
James and I were also chatting whether it would be possible to remove fetch metadata stuff from the codegen and just do it in macros.
An alternative would be to have a separate crate fetch-metadata
and remove it from the codegen I guess
Hey hey,
I'm using the following config for subxt:
This config ends up leads to a bunch of TLS dependencies which I'm not expecting to see:
subxt-macro
leaks jsonrpsee because of this and ideallysubxt-codegen
dependency should just be dev-dependency i.e, fetch the metadata at compile time and it shouldn't be needed as a dependency but maybe some reason that I don't follow :)If that doesn't work we need to add way to feature-gate
fetch_metadata_from_url
from the macro.//cc @jsdw @lexnv