diff --git a/Project.toml b/Project.toml index 320456a..89c3895 100644 --- a/Project.toml +++ b/Project.toml @@ -1,9 +1,11 @@ name = "FewBodyDB" uuid = "db38d531-b084-4210-bfec-cee5c3c1a709" -version = "0.0.3" +version = "0.0.4" authors = ["Shuhei Ohno", "Martin Mikkelsen"] [deps] +OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" [compat] +OrderedCollections = "1.8.1" julia = "1.11" diff --git a/src/FewBodyDB.jl b/src/FewBodyDB.jl index 3e014cc..45793ca 100644 --- a/src/FewBodyDB.jl +++ b/src/FewBodyDB.jl @@ -1,11 +1,12 @@ module FewBodyDB # import / export +import OrderedCollections: OrderedDict export @get, @bib # set dictionary -REFS = Dict{String, String}() -DATA = Dict{String, String}() +REFS = OrderedDict{String, String}() +DATA = OrderedDict{String, String}() # put new data (for development use only) macro put(expr)