I looked into this as well, but both libcosmic and cosmic-applibrary are still a WIP -- that's self-described, as well! There is no, for example, Qt or GTK in the Rust world yet.
I'm sure that it will be a reality at some point, but it's not there yet in a format a third party could use without it being obsolete after a few months. I am hopeful, though!