There are a few ways to get swimsuits in Rust. The most common way is to find them as rare loot in crates, barrels, and supply drops. You can also purchase them from the Clothes Vendor NPC at Outposts. Finally, you can craft them using cloth and leather at a Tailor Bench.