Skip to content

Commit

Permalink
revert some weakdeps, fix #192
Browse files Browse the repository at this point in the history
  • Loading branch information
aplavin authored Jan 10, 2025
1 parent 38b4bba commit f6ca4d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 0 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ 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"
Expand All @@ -26,9 +24,7 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"

[extensions]
AxisKeysExt = "AxisKeys"
DatesExt = "Dates"
IntervalSetsExt = "IntervalSets"
LinearAlgebraExt = "LinearAlgebra"
StaticArraysExt = "StaticArrays"
StructArraysExt = "StructArrays"
TestExt = "Test"
Expand Down
5 changes: 3 additions & 2 deletions src/Accessors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ include("sugar.jl")
include("functionlenses.jl")
include("testing.jl")

# always include for now; see https://github.com/JuliaObjects/Accessors.jl/issues/192
include("../ext/DatesExt.jl")
include("../ext/LinearAlgebraExt.jl")
if !isdefined(Base, :get_extension)
include("../ext/DatesExt.jl")
include("../ext/LinearAlgebraExt.jl")
include("../ext/TestExt.jl")
end

Expand Down

0 comments on commit f6ca4d6

Please sign in to comment.