Skip to content

Commit

Permalink
🔧 Add REPL.jl as dependency
Browse files Browse the repository at this point in the history
This dependency is required to reduce the time to print the first table
in the REPL. For more information, check:

JuliaLang/julia#56080
  • Loading branch information
ronisbr committed Oct 13, 2024
1 parent 930634b commit b6da013
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
7 changes: 7 additions & 0 deletions src/PrettyTables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6da013

Please sign in to comment.