docs.rs failed to build nix-bindings-util-sys-0.1.0
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.
nix-bindings-util-sys
This crate contains generated bindings for the Nix C API.
You should not have to use this crate directly, and so you should probably not add it to your dependencies.
Instead, use the nix-bindings-util, nix-bindings-store and nix-bindings-expr crates, which should be sufficient.
Design
Rust bindgen currently does not allow "layered" libraries to be split into separate crates. For example, the expr crate would have all-new types that are distinct and incompatible with the store crate.
Ideally bindgen will support reusing already generated modules, and we could move the code generation into the appropriate crates, so that the system dependencies of each crate become accurate.