|Hi, you are in a difficult place, and of course I have no idea what the job market is like in Croatia, or what your options may be. Are you financially in a place where you can quit if you want to ?
I also wonder if you are the sole author who created this library you've worked on for the last year, and, if you were, where was the VP of Engineering in the process ? If you were not the sole author, then are there other people who are going to have their careers, or jobs, or reputations, threatened by the decision to call off this effort which must have cost the company some real money ?
I have a feeling there's a lot we don't know here, perhaps should not know, and, of course, I respect whatever decisions make to protect your own reputation/privacy, etc.
If I were in a place where I was financially secure, felt I had the freedom to quit, and I foresaw an "ugly ending" coming in which I would be blamed for possibly others' mistakes, I would probably quit as soon as I had gotten my resume updated.
good luck, Bill
«I'm asked why doesn't C# implement feature X all the time. The answer's always the same: because no one ever designed, specified, implemented, tested, documented, shipped that feature. All six of those things are necessary to make a feature happen. They all cost huge amounts of time, effort and money.» Eric Lippert, Microsoft, 2009