While waiting for official support in Q2, I shared a blog post on how to automatically generate Candid declaration types from Rust.
It consolidates information from two forum threads (this thread and this other)
Above post is outdated, here the most recent solution: