zuri:Zig的URI解析器

时间:2021-05-17 17:33:55
【文件属性】:
文件名称:zuri:Zig的URI解析器
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-17 17:33:55
uri zig Zig 祖里 用编写的解析器。 例子 const uri = try Uri. parse ( "https://ziglang.org/documentation/master/#toc-Introduction" ); assert (mem. eql ( u8 , uri.scheme, "https" )); assert (mem. eql ( u8 , uri.host, "ziglang.org" )); assert (mem. eql ( u8 , uri.path, "/documentation/master/" )); assert (mem. eql ( u8 , uri.fragment, "toc-Introduction" )); Zig版本 默认情况下,master分支版本需要最新的Zig master版本。 对于Zig 0.6.0,使用提交89ff8258c
【文件预览】:
zuri-master
----build.zig(312B)
----.github()
--------workflows()
----test.zig(46B)
----zig.mod(110B)
----LICENSE(1KB)
----src()
--------zuri.zig(19KB)
----.gitignore(19B)
----README.md(591B)

网友评论