Skip to content

Commit

Permalink
Don't depend on the whole of Vibe.d for the test_registry
Browse files Browse the repository at this point in the history
Makes the code a bit more verbose, but remove the dependency to vibe-d:mongodb,
which happens to be the one currently failing on master.
  • Loading branch information
Geod24 committed Mar 3, 2023
1 parent 8d99f17 commit ef053eb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/test_registry.d
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
#!/usr/bin/env dub
/+dub.sdl:
dependency "vibe-d" version="~>0.9"
dependency "vibe-d:http" version="~>0.9"
versions "VibeNoSSL"
+/

import vibe.d;
import std.array;
import vibe.core.args;
import vibe.core.core;
import vibe.core.path;
import vibe.http.fileserver;
import vibe.http.router;
import vibe.http.server;

/*
Provide a special API File Handler as Vibe.d's builtin serveStaticFiles
Expand Down

0 comments on commit ef053eb

Please sign in to comment.