mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
storytold main 83cb1133dd (291 commits) into the integration head bab1a99b85; 47 conflicted files.
- Domain test files (metafile, prepress, pdf plates, settings store, heif, media-testkit, atomic): tests next cut stay cut; tests new on main are kept, as trials where the crate's test target runs trials.
- atomic: main's group-bits test and Faulty::set_group go to src/tests.rs. audio: main's GSM and SBC oracles join tests/main.rs. cms constructors, pdf knockout_backdrop and testing_pdf join their crates' one test binary; timeline's preflight tests become src/preflight_tests.rs trials.
- update: main's changes to detect, install (linux, macos) and the tests land in next's split modules. The app's own offer is inspected on a thread of its own, picked up by tick's polling; settle_for_tests settles offers too. Later on a ready update drops the close it asked for. updater_pin_tests.rs stays deleted; its new pin test is in tests/it/update.rs.
- craft-color: main added a different crate at crates/color (the colour tags of compositor and display frames); it is next's craft-color module `tags`, re-exported at the root.
- Old crates/ui (combo, docking, testing, README) and keymap's ui/view.rs stay deleted; main's new crates/ui/src/testing files are dropped with them.
- New crates in the craft facade: ai, control, dds, frame, ipc, media-source, palette, press-print, score, ssip. testkit and xtask are listed outside it.
- Cargo.lock: the union of both locks, resolved by cargo metadata. Workflow: main's nextest Windows leg, with next's --keep-going clippy.
34 lines
1.1 KiB
Rust
34 lines
1.1 KiB
Rust
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, clippy::unimplemented, clippy::todo, clippy::unreachable)]
|
|
|
|
//! Prepress for the Craft apps: an ink model and ink manager shared by the writers,
|
|
//! plates rendered from a PDF, coverage and a color preview read from the plates, and process
|
|
//! color conversion through craft-cms. See the README.
|
|
|
|
pub mod cms;
|
|
pub mod composite;
|
|
pub mod coverage;
|
|
#[cfg(feature = "flatten")]
|
|
pub mod flatten;
|
|
pub mod ink;
|
|
pub mod marks;
|
|
pub mod output;
|
|
#[cfg(feature = "flatten")]
|
|
pub mod pdfx1a;
|
|
pub mod plates;
|
|
|
|
pub use cms::{CmsConversion, ProfileError};
|
|
pub use coverage::{Above, Coverage, InkStats, MAX_REGIONS, Region, Stats};
|
|
pub use ink::{Alternate, Ink, InkColor, InkId, InkSet, Overprint, Process, Spot, normalize_name, to_pdf_color};
|
|
pub use marks::{MarkOptions, Marks, MarksError};
|
|
pub use output::{Output, OutputError};
|
|
pub use plates::{
|
|
Band, Conversion, Error, Fallback, MAX_BANDED_PIXELS, MAX_PLATE_PIXELS, MAX_SPOT_INKS, Options, Plates, plates, plates_in_bands, press_profile,
|
|
};
|
|
|
|
#[cfg(test)]
|
|
extern crate self as craft_prepress;
|
|
|
|
#[cfg(test)]
|
|
#[path = "../tests/main.rs"]
|
|
mod integration;
|