Skip to main content

Crate typub_engine

Crate typub_engine 

Source

Re-exports§

pub use adapters::AdapterRegistry;
pub use adapters::PublishContext;
pub use adapters::adapter_capability;
pub use adapters::all_adapter_capabilities;
pub use adapters::content_info_from;
pub use adapters::content_info_with_platform;
pub use adapters::is_copypaste_platform;
pub use adapters::is_local_output_platform;
pub use adapters::platform_short_code;
pub use adapters::resolve_asset_strategy_from_capability;
pub use adapters::resolve_math_delimiters;
pub use adapters::resolve_math_rendering;
pub use adapters::resolve_platform_asset_strategy;
pub use adapters::resolve_platform_asset_strategy_with_policy;
pub use adapters::write_preview_file;
pub use cache::Cache;
pub use pipeline::PipelineMode;
pub use pipeline::PipelineStage;
pub use pipeline::dry_run_single_platform;
pub use pipeline::preview_single_platform;
pub use pipeline::publish_single_platform;
pub use renderer::RenderedOutput;
pub use renderer::Renderer;
pub use resolved_config::ResolvedConfig;
pub use sorting::SortField;
pub use sorting::SortOrder;
pub use sorting::sort_posts;

Modules§

adapters
adapters_impl
assets
cache
Output caching for rendered content
content
internal_links
metadata
pipeline
project
renderer
resolved_config
Unified configuration resolution
sorting

Structs§

AdapterPayload
Adapter payload carrying AST, platform-specific data, and deferred assets.
ContentInfo
Content metadata packed for adapter use.
Document
ImageStrategyPolicy
Policy for allowed asset strategies.
PendingAssetList
Result of building pending assets for deferred upload.
PublishResult
Result of a successful publish operation
RenderConfig
Platform render configuration
ResolvedConfigDefaults
Default values provided by the adapter/caller (the “5th layer”).

Enums§

CapabilityGapBehavior
Behavior when a capability is not supported by a platform.
CapabilitySupport
Whether a platform capability is supported.
ContentTransform
Content transformation method
DraftSupport
Draft support capability per [[RFC-0005:C-DRAFT-SUPPORT]].
MathDelimiters
Math delimiter syntax for Markdown output.
MathRendering
How a platform renders math equations.
OutputFormat
Output format for rendering

Constants§

CONFIG_FILE_NAME

Traits§

AdapterContext
Context provided by pipeline to adapters.
PayloadInner
Trait for platform-specific payloads.
PlatformAdapter
Trait for platform adapters.

Functions§

downcast_payload
Downcast a type-erased adapter payload to a concrete type.
ensure_no_unresolved_image_markers
find_project_root
normalize_to_relative
resolve_from_relative
validate_within_project