Rust 的 nginx 绑定

时间:2021-06-28 18:25:05
【文件属性】:
文件名称:Rust 的 nginx 绑定
文件大小:12KB
文件格式:ZIP
更新时间:2021-06-28 18:25:05
nginx rust rust-bindings rust-crate nginx-rs这个 crate 为 Rust 提供了nginx绑定。目前,仅支持 Linux。如何使用将nginx crate 添加到 Cargo.toml [dependencies ]nginx =" 0.10"注意:为了构建 crate,必须安装clang 。环境变量NGINX_VERSION确定nginx的版本,如果没有设置,则使用默认版本。NGINX_PATH确定预克隆nginx的本地绝对路径,如果没有设置,则下载nginx。一些代码是从nginxinc/ngx-rust复制(并重构)的。
【文件预览】:
nginx-rs-master
----LICENSE-MIT(1KB)
----Cargo.toml(555B)
----src()
--------log.rs(1KB)
--------bindings.rs(2KB)
--------lib.rs(149B)
--------helpers.rs(4KB)
----wrapper.h(96B)
----LICENSE-APACHE(11KB)
----build.rs(2KB)
----.travis.yml(199B)
----README.md(1KB)
----Makefile(1KB)
----.gitignore(30B)

网友评论