sim-lib-doc-core 0.1.0

Core document records and shape hooks for SIM office documents.
Documentation
//! Office suite document core.

#![forbid(unsafe_code)]
#![deny(missing_docs)]

pub mod caps;
pub mod edit;
pub mod error;
pub mod evidence;
pub mod fidelity;
pub mod model;
pub mod place;
pub mod projection;
pub mod shape;
pub mod zip_package;

pub use caps::{
    CREDENTIALS_CAPABILITY, NET_CONNECT_CAPABILITY, OfficeCapabilityProfile,
    PROCESS_SPAWN_CAPABILITY, WALL_CLOCK_CAPABILITY,
};
pub use edit::{DomainEdit, Edit, invert};
pub use error::OfficeError;
pub use evidence::{Evidence, LinkRole};
pub use fidelity::{FidelityReport, LossNote};
pub use model::{
    DOC_KIND_ARTICLE, DOC_KIND_README, DOC_KIND_REPORT, Doc, DocId, DocKind, ExternalRef,
};
pub use place::{DocCodec, DocCodecOptions, DocSite, Placement};
pub use projection::{
    ProjectionCaps, ProjectionRequest, SurfaceCaps, TAG_BACKEND, TAG_FIDELITY, TAG_LENS,
    TAG_STATEMENT_KIND, TAG_TARGET, project,
};
pub use shape::{DocKindShape, doc_shape};
pub use zip_package::{ZipLimits, read_zip_entries};

/// Cookbook recipes for this lib, embedded at build time.
pub static RECIPES: sim_cookbook::EmbeddedDir =
    include!(concat!(env!("OUT_DIR"), "/cookbook_recipes.rs"));