Mix was complaining when compiling Mint as a dependency if :castore was not in the dependencies too. Solved this by not using CAstore as a compile-time module reference, but making it dynamic instead.
Unrelated refactor: I just used Keyword.put_new/3 and Keyword.put_new_lazy/3 in favor of some if checks in Mint.Core.Transport.SSL.
:castore
was not in the dependencies too. Solved this by not usingCAstore
as a compile-time module reference, but making it dynamic instead.Keyword.put_new/3
andKeyword.put_new_lazy/3
in favor of someif
checks inMint.Core.Transport.SSL
.