Skip to content

Commit

Permalink
Allow newer versions of decimal 2.x
Browse files Browse the repository at this point in the history
I've been keeping an override in a project to be able to upgrade `decimal`. Other dependencies related to Phoenix specify `~> 2.0`, but recently reading the Elixir forum I realized we can do better:

https://elixirforum.com/t/conflicting-dependencies-and-use-of-the-operator/68207/14?u=rhcarvalho
  • Loading branch information
rhcarvalho authored Dec 21, 2024
1 parent e4a3102 commit 27f4634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ defmodule Mongodb.Mixfile do
[
{:telemetry, "~> 1.0"},
{:db_connection, "~> 2.6"},
{:decimal, "~> 2.1.1"},
{:decimal, "~> 2.1 and >= 2.1.1"},
{:patch, "~> 0.12.0", only: [:dev, :test]},
{:jason, "~> 1.3", only: [:dev, :test]},
{:credo, "~> 1.7.0", only: [:dev, :test], runtime: false},
Expand Down

0 comments on commit 27f4634

Please sign in to comment.