mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 06:24:39 +00:00
33 lines
961 B
Rust
33 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;
|
|
#[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 = "paths")]
|
|
pub mod paths;
|
|
#[cfg(feature = "raster")]
|
|
pub mod raster;
|
|
#[cfg(feature = "write")]
|
|
pub mod write;
|
|
#[cfg(feature = "write-raster")]
|
|
#[path = "write/raster.rs"]
|
|
pub mod write_raster;
|