docs.rs failed to build cups-sys-0.1.3
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.
cups-sys
Rust FFI bindings to CUPS.
Background
CUPS is the standards-based, open source printing system developed by Apple Inc. for macOS and other UNIX-like operating systems. CUPS uses the Internet Printing Protocol (IPP) to support printing to local and network printers.
This library (cups-sys
) provides a low-level interface to the CUPS library installed on your system. The binding is generated at build time via the bindgen
project.
I just want to print from Rust
use mem;
use ptr;
use cups-*;
unsafe
For a pure-Rust IPP implementation, check out ipp.rs
.
Documentation
The auto-generated FFI reference docs can be found at https://legneato.github.io/cups-sys/cups_sys/.
The original CUPS API documentation (with examples) can be found at https://www.cups.org/doc/api-cups.html.
Example usage
unsafe
License
cups-sys
is licensed under either of the following, at your option:
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT License (LICENSE-MIT or http://opensource.org/licenses/MIT)