It is more or less impossible to truly clean something without adding a bit of moisture into the equation. For example, no matter how vigorously you sweep your floors, there will always be a slight layer of dust that only mopping the floor will truly get rid of. This is something that needs to be taken into account for carpet cleaning as well. The reason behind this is that dry methods like vacuuming and sweeping won’t really put much of a dent into the actual mass of dirt clumps that are matting your carpet fibers together.
Hence, if you are planning to do some rug cleaning in the near future, bear in mind that you would need to get your carpet at least somewhat wet once all has been said and is now out of the way. That means that you also need to let your carpet dry, because it will smell worse than might have been the case otherwise if it is left moist for too long. It might be annoying to not be able to touch your carpet while it is moist, but doing so is mandatory lest the foul odor ruin your living experience.
The good news here is that carpets don’t take weeks to dry, or even days. In most cases your carpet would need about a day to dry, and you can bring this down to as little as twelve hours by turning on all of your fans and opening all of your windows. You might want to close the door that leads to the carpeted room though, otherwise someone might traipse in without realizing what they have done.