I developed strong romantic feelings for a girl I've been friends with for a few years now.  After a couple months of this I asked her out and she turned me down.  I thought ok no problem.  We'll just stay friends no big deal.  Well its been about a month since she turned me down and honestly the feelings haven't faded at all and it hurts to be around her now.  So I've been declining to hang out with mutual friends when I know she'll be there and I leave early if I can if she shows up.

Honestly at this point I am thinking about either just explaining that I can't be friends with her anymore because it hurts OR just ghosting her completely.  It isn't her fault I'm like this, but I think for my own mental well being I need to end our friendship.  I've mentioned this to a few of my friends and they think it would be shitty of me to end a friendship because I can't get over my attraction to her.  Is this an asshole move?