From 607aba82c205308a6c29a6085740a40b0a321167 Mon Sep 17 00:00:00 2001 From: Alexander Plavin Date: Tue, 9 Jan 2024 11:13:13 -0600 Subject: [PATCH] fix #127 --- Project.toml | 6 ------ src/Accessors.jl | 9 ++++----- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/Project.toml b/Project.toml index 6e337361..63cdb034 100644 --- a/Project.toml +++ b/Project.toml @@ -15,22 +15,16 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [weakdeps] AxisKeys = "94b1ba4f-4ee9-5380-92f1-94cde586c3c5" -Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953" -LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" Requires = "ae029012-a4dd-5104-9daa-d747884805df" StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a" -Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [extensions] AccessorsAxisKeysExt = "AxisKeys" -AccessorsDatesExt = "Dates" AccessorsIntervalSetsExt = "IntervalSets" -AccessorsLinearAlgebraExt = "LinearAlgebra" AccessorsStaticArraysExt = "StaticArrays" AccessorsStructArraysExt = "StructArrays" -AccessorsTestExt = "Test" [compat] AxisKeys = "0.2" diff --git a/src/Accessors.jl b/src/Accessors.jl index d23f319e..2d201c8e 100644 --- a/src/Accessors.jl +++ b/src/Accessors.jl @@ -20,10 +20,9 @@ include("sugar.jl") include("functionlenses.jl") include("testing.jl") -@static if !isdefined(Base, :get_extension) - include("../ext/AccessorsDatesExt.jl") - include("../ext/AccessorsLinearAlgebraExt.jl") - include("../ext/AccessorsTestExt.jl") -end +# always included for now +include("../ext/AccessorsDatesExt.jl") +include("../ext/AccessorsLinearAlgebraExt.jl") +include("../ext/AccessorsTestExt.jl") end