Yes, beavers produce a water-repellent oil called castoreum that they use to keep their fur waterproof.  The have a split claw called a grooming claw that they use to regularly groom the castoreum into their coat with.  Muskrats have a double layered coat which consists of a thick layer of fur underneath to keep them warm and a layer of long guard hairs on the top which are water-resistant.