huntlabs / grpc-dlang

Grpc for D programming language, hunt-http library based.
Apache License 2.0
44 stars 6 forks source link

Dependencies way out of date #18

Open pontaoski opened 3 years ago

pontaoski commented 3 years ago

Trying to use this in a project, I get a failure from hunt:

../../../../.dub/packages/hunt-1.1.2/hunt/source/hunt/concurrency/Executors.d(401,12): Error: interface hunt.util.Common.Callable(V) at ../../../../.dub/packages/hunt-1.1.2/hunt/source/hunt/util/Common.d(120,1) conflicts with struct core.thread.context.Callable at /home/jpontaoski/dlang/dmd-2.095.0/linux/bin64/../../src/druntime/import/core/thread/context.d(26,1)

It looks like this is a very old version, as the latest one is 1.6.10; seems that a lot of dependencies are out of date

Heromyth commented 3 years ago

It's really old. You can a older compiler than DMD 2.095, or use the latest grpc-dlang.

Here are all the dependencies used by the latest grpc-dlang:

{
        "fileVersion": 1,
        "versions": {
                "grpc": {"path":"../../"},
                "hunt": "1.6.11+commit.1.gccbcd8d",
                "hunt-extra": "1.0.7",
                "hunt-http": "0.6.13",
                "hunt-net": "0.5.10",
                "hunt-openssl": "1.0.3",
                "protobuf": "0.6.2"
        }
}