Phoenix error while adding xandra library to dependencies

I think if you do:

mix deps.unlock decimal
mix deps.get

You should be ok. The message mix.lock specifies 2.0.0 says that the version is locked to 2.0.0 so you need to unlock that so dependency resolution can run again.