An asynchronous IO runtime
at main 529 B view raw
1const std = @import("std"); 2 3pub const net = @import("stda/net.zig"); 4pub const tls = @import("stda/tls.zig"); 5 6const root = @import("root"); 7pub const options: Options = if (@hasDecl(root, "stda_options")) root.std_options else .{}; 8 9pub const Options = struct { 10 /// nameservers to be used if system nameservers can't be located 11 nameservers: [2]std.net.Address = .{ 12 std.net.Address.initIp4(.{ 1, 1, 1, 1 }, 53), 13 std.net.Address.initIp4(.{ 1, 0, 0, 1 }, 53), 14 }, 15}; 16 17test { 18 _ = net; 19 _ = tls; 20}