Skip to content

Commit

Permalink
Merge pull request #68 from fhagemann/main
Browse files Browse the repository at this point in the history
Drop dependency on `Requires`
  • Loading branch information
fhagemann authored Sep 19, 2024
2 parents 71b5e3b + 2940121 commit 469a00e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ PropDicts = "4dc08600-4268-439e-8673-d706fafbb426"
PropertyDicts = "f8a19df8-e894-5f55-a973-672c1158cbca"
PropertyFunctions = "09e99361-2bb8-48a2-a80f-de58f0739eb4"
RecipesBase = "3cdcf5f2-1ef4-517c-9805-6587b60abb01"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
StaticStrings = "4db0a0c5-418a-4e1d-8806-cb305fe13294"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"
Expand Down Expand Up @@ -62,7 +61,6 @@ PropDicts = "0.2.4"
PropertyDicts = "0.2"
PropertyFunctions = "0.2.1"
RecipesBase = "1"
Requires = "0.5, 1"
SolidStateDetectors = "0.8, 0.9, 0.10"
StaticStrings = "0.2"
Statistics = "1"
Expand Down
10 changes: 2 additions & 8 deletions ext/LegendDataManagementLegendHDF5IOExt.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
module LegendDataManagementLegendHDF5IOExt

@static if isdefined(Base, :get_extension)
using LegendDataManagement
using LegendHDF5IO
else
using ..LegendDataManagement
using LegendHDF5IO
end
using LegendDataManagement
using LegendHDF5IO

# using LegendDataManagement: LegendDataManagement.DataSelector
using LegendHDF5IO

const dataselector_bytypes = Dict{Type, String}()

Expand Down
11 changes: 0 additions & 11 deletions src/LegendDataManagement.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,4 @@ include("evt_functions.jl")
include("lprops.jl")
include("utils/utils.jl")

@static if !isdefined(Base, :get_extension)
using Requires
end

function __init__()
@static if !isdefined(Base, :get_extension)
@require LegendHDF5IO = "c9265ca6-b027-5446-b1a4-febfa8dd10b0" begin
include("../ext/LegendDataManagementLegendHDF5IOExt.jl")
end
end
end
end # module

0 comments on commit 469a00e

Please sign in to comment.