docs.rs failed to build nginx-sys-0.2.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
nginx-sys
The nginx-sys
crate provides low-level bindings for the nginx C API, allowing Rust applications to interact with nginx servers and modules.
Usage
Add nginx-sys
as a dependency in your Cargo.toml
:
[]
= "0.1.0"
Features
build
: Enables the build scripts to compile and link against the nginx C library. This feature is enabled by default.
Examples
Get Nginx Version
This example demonstrates how to retrieve the version of the nginx server.
use nginx_version;
let version = unsafe ;
println!;