diff --git a/Project.toml b/Project.toml index a139bb4..873c31c 100644 --- a/Project.toml +++ b/Project.toml @@ -8,16 +8,13 @@ Requires = "ae029012-a4dd-5104-9daa-d747884805df" [weakdeps] SymbolicUtils = "d1185830-fcd6-423d-90d6-eec64667417b" -Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7" [extensions] SymbolicIndexingInterfaceSymbolicUtilsExt = "SymbolicUtils" -SymbolicIndexingInterfaceSymbolicsExt = "Symbolics" [compat] Requires = "1.0" SymbolicUtils = "1.4" -Symbolics = "5.10" julia = "1" [extras] diff --git a/ext/SymbolicIndexingInterfaceSymbolicsExt.jl b/ext/SymbolicIndexingInterfaceSymbolicsExt.jl deleted file mode 100644 index 662d53f..0000000 --- a/ext/SymbolicIndexingInterfaceSymbolicsExt.jl +++ /dev/null @@ -1,14 +0,0 @@ -module SymbolicIndexingInterfaceSymbolicsExt - -using SymbolicIndexingInterface - -@static if isdefined(Base, :get_extension) - using Symbolics -else - using ..Symbolics -end - -SymbolicIndexingInterface.symbolic_type(::Type{<:Symbolics.Num}) = ScalarSymbolic() -SymbolicIndexingInterface.symbolic_type(::Type{<:Symbolics.Arr}) = ArraySymbolic() - -end diff --git a/src/SymbolicIndexingInterface.jl b/src/SymbolicIndexingInterface.jl index 8a4cadb..57d0ba6 100644 --- a/src/SymbolicIndexingInterface.jl +++ b/src/SymbolicIndexingInterface.jl @@ -2,7 +2,7 @@ module SymbolicIndexingInterface using Requires -export ScalarSymbolic, ArraySymbolic, NotSymbolic, symbolic_type, getname +export ScalarSymbolic, ArraySymbolic, NotSymbolic, symbolic_type , getname include("trait.jl") export is_variable, variable_index, variable_symbols, is_parameter, parameter_index, @@ -15,7 +15,6 @@ include("symbol_cache.jl") @static if !isdefined(Base, :get_extension) function __init__() - @require Symbolics="0c5d862f-8b57-4792-8d23-62f2024744c7" include("../ext/SymbolicIndexingInterfaceSymbolicsExt.jl") @require SymbolicUtils="d1185830-fcd6-423d-90d6-eec64667417b" include("../ext/SymbolicIndexingInterfaceSymbolicUtilsExt.jl") end end