Add --derive-for-type to cli (#708)

* Add `--derive-for-type` to cli

* Remove clippy warnings
This commit is contained in:
Francisco Miguel García
2022-11-23 16:25:32 +01:00
committed by GitHub
parent 702e87e58d
commit a80d6cfd30
6 changed files with 41 additions and 21 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ pub fn subxt(args: TokenStream, input: TokenStream) -> TokenStream {
let path = root_path.join(rest_of_path);
subxt_codegen::generate_runtime_api_from_path(
item_mod,
&path,
path,
derives_registry,
crate_path,
)