mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-14 22:42:46 +00:00
Decouple raster PDF output from Krilla writer
This commit is contained in:
3 files changed
+4
-4
No files matched your search
@@ -17,7 +17,7 @@ interpret = ["read", "dep:hayro-interpret"]
|
||||
raster = ["interpret", "dep:hayro", "dep:bytemuck"]
|
||||
write = ["dep:krilla", "dep:thiserror"]
|
||||
write-pdf = ["write", "krilla/pdf"]
|
||||
write-raster = ["write", "dep:flate2"]
|
||||
write-raster = ["dep:flate2"]
|
||||
write-simple-text = ["write", "krilla/simple-text"]
|
||||
filters = ["dep:craft-stream-codecs", "dep:flate2", "dep:thiserror"]
|
||||
cos = ["crypt", "filters", "dep:chrono", "dep:js-sys", "dep:wasm-bindgen"]
|
||||
|
||||
@@ -25,3 +25,6 @@ pub use read::*;
|
||||
pub mod raster;
|
||||
#[cfg(feature = "write")]
|
||||
pub mod write;
|
||||
#[cfg(feature = "write-raster")]
|
||||
#[path = "write/raster.rs"]
|
||||
pub mod write_raster;
|
||||
@@ -16,9 +16,6 @@ const _: bool = backend::CRAFT_OPTIONAL_CONTENT;
|
||||
|
||||
pub mod print;
|
||||
|
||||
#[cfg(feature = "write-raster")]
|
||||
pub mod raster;
|
||||
|
||||
use backend::configure::{Archival, Configuration, ConfigurationBuilder, ConfigurationError, PdfVersion};
|
||||
use backend::text::{Font, Tag};
|
||||
|
||||
|
||||
Reference in new issue
Block a user