Skip to content

Commit b13a0af

Browse files
Deps: add TOML, and Tar
1 parent ff17a96 commit b13a0af

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Project.toml

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
1212
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
1313
StaticLint = "b3cc710f-9c33-5bdb-a03d-a94903873e97"
1414
SymbolServer = "cf896787-08d5-524d-9de7-132aaa0cb996"
15+
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
16+
Tar = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
1517
Tokenize = "0796e94c-ce3b-5d07-9a54-7f471281c624"
1618
URIParser = "30578b45-9adc-5946-b283-645ec420af67"
1719
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"

src/extensions/RegistryQuery.jl

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@
33
# a new view on the current registry.
44

55
module RegistryQuery
6-
using Base: UUID, SHA1, TOML
6+
using Base: UUID, SHA1
7+
@static if VERSION < v"1.6"
8+
using Base: TOML
9+
else
10+
import TOML
11+
end
12+
import Tar
713
using Pkg
814

915
function to_tar_path_format(file::AbstractString)

0 commit comments

Comments
 (0)