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 authored and GitHub committed 2022-11-23 15:25:32 +00:00
1 parent 702e87e58d
commit a80d6cfd30
6 files changed
+41 -21

No files matched your search

+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,
)