Skip to content

Commit

Permalink
Move deprecation warning to correct branch (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
filmor authored Sep 24, 2023
1 parent af496ee commit 61a2ed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rustler_mix/lib/rustler/compiler/config.ex
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ defmodule Rustler.Compiler.Config do
# TODO: Remove in 1.0
rustler_crates =
if mix_config = Mix.Project.config()[:rustler_crates] do
mix_config
else
IO.warn(
":rustler_crates in mix.exs is deprecated, please explicitly pass options on `use Rustler` or configure the module in your `config/*.exs` files"
)

mix_config
else
[]
end

Expand Down

0 comments on commit 61a2ed8

Please sign in to comment.