Is it rude to ignore a guy that turned you down ?

This guy I had a crush on didn’t like me back and I was hurt for a long time because I was really into him. I am finally over him but I have no interest in being cordial with him. If I see him out and about he says hey and tries to act fake and friendly but I ignore him and just keep walking. My friends says that it is rude but I have no desire to be fake. Once I’m over someone whether it’s a old friend, ex boyfriend, crush, etc. I am over them. Is it rude ?