Currently all Rust related code is specific to compactions and contained in a compaction-rust module. Separate the common Rust calling code into a top-level module. Keep compaction specific stuff in compaction module.