Get rid of the the manual candid file for Rust

It would be really nice if Rust canisters had their did files taken care of automatically, just like Motoko files.

1 Like

I think it’s doable today but not very accessible, and obviously not automated.

When I asked about candid_method and export_service in this issue @chenyan said:

Yeah, that is … used for auto-generating did files

We are still trying to figure out the best way to integrate this into the CDK. For now, the best document is probably the test: candid/types.rs at master · dfinity/candid · GitHub