diff --git a/.gitmodules b/.gitmodules index 6c4c1f4..59e5312 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,4 +10,7 @@ branch = master [submodule "dsymbol"] path = dsymbol - url = https://github.com/dlang-community/dsymbol.git \ No newline at end of file + url = https://github.com/dlang-community/dsymbol.git +[submodule "stdx-allocator"] + path = stdx-allocator + url = https://github.com/dlang-community/stdx-allocator diff --git a/dub.json b/dub.json index 0948bc9..38c7ba0 100644 --- a/dub.json +++ b/dub.json @@ -7,9 +7,10 @@ ], "license": "GPL-3.0", "dependencies": { - "dsymbol": "~>0.3.0-alpha.1", + "dsymbol": "~>0.3.0-alpha.2", "libdparse": "~>0.8.0-alpha.3", - "msgpack-d": "~>1.0.0-beta.3" + "msgpack-d": "~>1.0.0-beta.3", + "stdx-allocator": "~>2.077.0" }, "versions": ["built_with_dub"], "configurations": [ diff --git a/src/dcd/server/autocomplete/util.d b/src/dcd/server/autocomplete/util.d index 8a3df97..ad397ba 100644 --- a/src/dcd/server/autocomplete/util.d +++ b/src/dcd/server/autocomplete/util.d @@ -19,7 +19,7 @@ module dcd.server.autocomplete.util; import std.algorithm; -import std.experimental.allocator; +import stdx.allocator; import std.experimental.logger; import std.range; import std.string; diff --git a/src/dcd/server/main.d b/src/dcd/server/main.d index c669d12..edad504 100644 --- a/src/dcd/server/main.d +++ b/src/dcd/server/main.d @@ -24,8 +24,8 @@ import std.array; import std.conv; import std.datetime.stopwatch : AutoStart, StopWatch; import std.exception : enforce; -import std.experimental.allocator; -import std.experimental.allocator.mallocator; +import stdx.allocator; +import stdx.allocator.mallocator; import std.experimental.logger; import std.file; import std.getopt; diff --git a/stdx-allocator b/stdx-allocator new file mode 160000 index 0000000..7487970 --- /dev/null +++ b/stdx-allocator @@ -0,0 +1 @@ +Subproject commit 7487970b58f4a2c0d495679329a8a2857111f3fd