mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 05:14:24 +00:00
36 lines
961 B
Rust
36 lines
961 B
Rust
//! Shared optional PDF reading, rendering and writing for Craft applications.
|
|
//!
|
|
//! Applications retain document models, layout, shaping, font policy and scheduling.
|
|
//! Advanced backend re-exports are coupled to the pinned backend, not a universal document model.
|
|
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
|
|
|
|
#[cfg(feature = "cos")]
|
|
pub mod cos;
|
|
#[cfg(feature = "crypt")]
|
|
pub mod crypt;
|
|
#[cfg(feature = "filters")]
|
|
pub mod filters;
|
|
#[cfg(feature = "interpret")]
|
|
pub use hayro_interpret as interpret;
|
|
mod link;
|
|
pub mod settings;
|
|
#[cfg(feature = "read")]
|
|
pub use hayro_syntax as syntax;
|
|
pub use link::safe_url;
|
|
|
|
#[cfg(feature = "read")]
|
|
mod read;
|
|
#[cfg(feature = "read")]
|
|
pub use read::*;
|
|
#[cfg(feature = "raster")]
|
|
pub mod raster;
|
|
#[cfg(feature = "write")]
|
|
pub mod write;
|
|
|
|
#[cfg(test)]
|
|
extern crate self as craft_pdf;
|
|
|
|
#[cfg(test)]
|
|
#[path = "../tests/main.rs"]
|
|
mod integration;
|