Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop dependency on Requires #68

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -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"
@@ -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"
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}()

11 changes: 0 additions & 11 deletions src/LegendDataManagement.jl
Original file line number Diff line number Diff line change
@@ -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