No client devs only need the api structs which are defined in api_common. See lemmy-client-rs for example. Anyway it makes sense to move the api structs like you say. Then lemmy_api_common would be moved to another path like lemmy_api_utils for all the utility functions. And lemmy_api_common would be a new crate which only contains pub use for all the api structs for use by Rust clients.
This PR can be merged already to speed up compilation, and further changes made in separate PRs.
cc @SleeplessOne1917
Originally posted by @Nutomic in #5640 (comment)