diff options
Diffstat (limited to 'misctools/fetch.zig')
-rw-r--r-- | misctools/fetch.zig | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/misctools/fetch.zig b/misctools/fetch.zig index 0b990572f..74622b0ef 100644 --- a/misctools/fetch.zig +++ b/misctools/fetch.zig @@ -1,5 +1,5 @@ const std = @import("std"); -const bun = @import("../src/global.zig"); +const bun = @import("bun"); const string = bun.string; const Output = bun.Output; const Global = bun.Global; @@ -9,16 +9,18 @@ const MutableString = bun.MutableString; const stringZ = bun.stringZ; const default_allocator = bun.default_allocator; const C = bun.C; -const clap = @import("../src/deps/zig-clap/clap.zig"); +pub usingnamespace @import("bun"); + +const clap = bun.clap; const URL = @import("../src/url.zig").URL; -const Headers = @import("http").Headers; +const Headers = @import("bun").HTTP.Headers; const Method = @import("../src/http/method.zig").Method; const ColonListType = @import("../src/cli/colon_list_type.zig").ColonListType; const HeadersTuple = ColonListType(string, noop_resolver); const path_handler = @import("../src/resolver/resolve_path.zig"); -const HTTPThread = @import("http").HTTPThread; -const HTTP = @import("http"); +const HTTPThread = @import("bun").HTTP.HTTPThread; +const HTTP = @import("bun").HTTP; fn noop_resolver(in: string) !string { return in; } |