Generate scale metadata during build
Maybe build.rs
can generate the metadata, to avoid having to run the node and use subxt.
Since the node includes subxt parts (distance client), it still has to build without these features first, generate the metadata, then build with all the features.