From 5c309b19913b377cc4b1f5bfcf7702a705d42cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Muska=C5=82a?= Date: Sat, 29 Jun 2024 16:46:15 +0100 Subject: [PATCH] Require stream_data only from Elixir 1.12 Summary: Test Plan: --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index fbada6d..db278ec 100644 --- a/mix.exs +++ b/mix.exs @@ -35,7 +35,7 @@ defmodule Jason.Mixfile do end defp maybe_stream_data() do - if Version.match?(System.version(), "~> 1.5") do + if Version.match?(System.version(), "~> 1.12") do [{:stream_data, "~> 1.0", only: :test}] else []