From b6da0138767316fcc97916d488fbc1d252aebcd2 Mon Sep 17 00:00:00 2001 From: Ronan Arraes Jardim Chagas Date: Sun, 13 Oct 2024 10:07:36 -0300 Subject: [PATCH] :wrench: Add REPL.jl as dependency This dependency is required to reduce the time to print the first table in the REPL. For more information, check: https://github.com/JuliaLang/julia/issues/56080 --- Project.toml | 2 ++ src/PrettyTables.jl | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/Project.toml b/Project.toml index 4509a9ab..5683aea3 100644 --- a/Project.toml +++ b/Project.toml @@ -11,6 +11,7 @@ LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a" PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a" Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7" +REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" Reexport = "189a3867-3050-52da-a836-e630ba90ab69" StringManipulation = "892a3eda-7b42-436c-8928-eab12a02cf0e" Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" @@ -22,6 +23,7 @@ Markdown = "1.10" OffsetArrays = "1" PrecompileTools = "1" Printf = "1.10" +REPL = "1.11.0" Reexport = "0.2, 1" StringManipulation = "0.4" Tables = "0.2, 1" diff --git a/src/PrettyTables.jl b/src/PrettyTables.jl index fcfd8a2f..48c086c3 100644 --- a/src/PrettyTables.jl +++ b/src/PrettyTables.jl @@ -5,6 +5,13 @@ using Reexport using StringManipulation using Tables +# We add REPL.jl as dependency only to decrese the enormous precompilation time observed +# after Julia 1.11. For more information, check: +# +# https://github.com/JuliaLang/julia/issues/56080 +# +using REPL + @reexport using Crayons import Base: @kwdef, axes, getindex