duc2pdf (Rust)
The duc2pdf crate provides a robust Rust implementation for converting duc project-state files to PDF format. Designed for professionals seeking precision and efficiency, this crate ensures industry-grade PDF output that adheres to ISO 32000-2 standards.
Introduction
The duc2pdf crate offers comprehensive Rust types and helper functions to convert duc project files to high-quality PDF documents. Built with efficiency and performance in mind, this crate enables you to process complex project data and generate professional PDF output for sharing, printing, and archiving.
For an industry-grade PDF export, we need to adhere to the ISO 32000-2 which PDFs support, ensuring precise vector graphics, proper scaling, and accurate color representation.
Features
- Rust Support: Strongly-typed interfaces for all aspects of the
ducto PDF conversion process, ensuring type safety and performance. - Industry Standards Compliance: Full compliance with ISO 32000-2 PDF standards for professional document output.
- High Performance: Optimized processing to handle complex project data and generate PDFs efficiently.
- CLI Tool: Command-line interface for easy integration into build pipelines and workflows.
- Precision Output: Maintains exact vector precision, dimensions, and styling from the original duc files.
Installation
Install the crate using Cargo:
Or install the CLI tool:
Usage
As a library:
use *;
// Convert duc file to PDF
let result = convert.unwrap;
As a CLI tool:
Documentation
For detailed documentation, including all available types and utility functions, visit our Documentation.
Tools
- Playground: Experiment with the
ducformat in a live environment. - Documentation: Comprehensive guides and API references.
License
This project is licensed under the MIT License. See the LICENSE file for more details.