1pub mod a11y;
61pub mod access;
62pub mod admin;
63pub mod analytics;
64pub mod api;
65pub mod auto_menu;
66pub mod block;
67pub mod breadcrumbs;
74#[cfg(feature = "cache_azure")]
75pub mod cache_azure;
76#[cfg(feature = "cache_cloudflare")]
77pub mod cache_cloudflare;
78#[cfg(feature = "cache_cloudfront")]
79pub mod cache_cloudfront;
80#[cfg(feature = "cache_gcp")]
81pub mod cache_gcp;
82pub mod cache_invalidate;
83#[cfg(feature = "cache_varnish")]
84pub mod cache_varnish;
85pub mod category;
86pub mod category_translation;
87pub mod children_filtered;
88pub mod collection_view_restriction;
89pub mod comment;
90pub mod config;
91pub mod content_checks;
92pub mod date_filters;
93pub mod dismissible;
94pub mod editing_session;
95pub mod embed;
96pub mod error_pages;
97pub mod feed;
98pub mod forms;
99pub mod fragment_cache;
100pub mod hooks;
101pub mod language_switcher;
102pub mod library;
103pub mod locale;
104pub mod locale_mode;
105mod log_err;
106pub mod lock;
107pub mod macros;
108pub mod markdown;
109pub mod mcp;
110pub mod media;
111pub mod media_storage;
112pub mod menu_item_translation;
113pub mod meta_tags;
114pub mod metrics;
115pub mod migrations;
116pub mod mysql_text;
117pub mod navigation;
118pub mod notification_pref;
119pub mod notify;
120pub mod page;
121pub mod page_builder;
122mod page_delete;
123pub(crate) mod page_form;
124pub mod page_log;
125pub mod page_snippet_m2m;
126pub mod page_subscription;
127pub mod page_tag;
128pub mod page_type;
129pub mod page_type_model;
130pub mod page_url;
131pub mod page_view;
132pub mod pending_change;
133pub(crate) mod passwords;
134pub mod perf;
135pub mod permissions;
136pub mod preview_token;
137pub mod preview_url;
138pub mod redirect;
139pub mod reference_index;
140pub mod render;
141pub mod rendition;
142pub mod rendition_route;
143pub mod resolver;
144pub mod revision;
145pub mod richtext;
146pub mod routable;
147pub mod router;
148pub mod search;
149#[cfg(feature = "search_elasticsearch")]
150pub mod search_elasticsearch;
151pub mod search_promotion;
152pub mod schedule;
153pub mod seed;
154pub mod signing;
155pub mod site;
156pub mod site_setting;
157pub mod robots;
158pub mod sitemap;
159pub mod snippet;
160pub mod snippet_render;
161pub mod snippet_translation;
162pub mod task_kind;
163pub mod task_queue;
164pub mod tenant_templates;
165pub mod theme;
166pub mod theme_resolve;
167pub mod theme_seed;
168pub mod translation;
169pub mod tree;
170pub mod tree_build;
171pub mod tree_ops;
172pub mod uploaded_file;
173pub mod urls;
174pub mod userbar;
175pub mod view_restriction;
176pub use view_restriction::{RestrictionKind, TypeViewRestriction};
177pub mod view_restriction_guard;
178pub mod widget;
179pub mod workflow;
180pub mod workflow_mail;
181
182#[doc(hidden)]
183pub use ::inventory;
184
185pub use category::{
186 registered_handlers as registered_taxonomy_handlers, Category, PageCategory, Taxonomy,
187 TaxonomyHandler, TaxonomyHandlerRegistration,
188};
189pub use library::{
190 ensure_library_type_row, find_handler as find_library_handler,
191 registered_handlers as registered_library_handlers, LibraryType, LibraryTypeHandler,
192 LibraryTypeHandlerRegistration, ListColumn, ListColumnKind,
193};
194pub use locale::Locale;
195pub use locale_mode::{resolve_request_locale, LocaleMode, RequestLocale};
196pub use media::{Media, MediaCollection};
197pub use category_translation::CategoryTranslation;
198pub use menu_item_translation::MenuItemTranslation;
199pub use navigation::{Menu, MenuItem};
200pub use page::{Page, PageStatus};
201pub use page_type::{
202 all_children, default_children, find_handler, published_children, registered_handlers, DisplayField,
203 ExtensionField, ExtensionFieldKind, InlinePanelSpec, PageTypeHandler,
204 PageTypeHandlerRegistration, PageTypeOverrides, TabSpec,
205};
206pub use page_view::{Accept, PageViewKind, PageViewMode};
207pub use permissions::{
208 user_can, user_can_in_collection, user_can_matrix, Action, CollectionPermission, PagePermission,
209};
210pub use redirect::{
211 bump_hit_count as bump_redirect_hit_count, find_for_path as find_redirect_for_path, Redirect,
212};
213pub use revision::Revision;
214pub use snippet::Snippet;
215pub use theme::{emit_css as emit_theme_css, BrandColor, Theme};
216pub use theme_resolve::{resolve_for_page as resolve_theme_for_page, ResolvedTheme};
217pub use theme_seed::ensure_themes_seeded;
218pub use translation::Translation;
219
220pub use rustango_cms_macros::PageType;
224
225pub use rustango_cms_macros::Block;
232
233#[doc(hidden)]
237pub mod __private {
238 pub use async_trait;
239 pub use inventory;
240 pub use rustango::core::Model;
241 pub use rustango::sql::{ExecError, FetcherPool, Pool};
242 pub use serde_json;
243}
244pub use page_type_model::PageType;
245pub use render::render;
246pub use resolver::resolve_path;
247pub use router::{router, router_at, router_at_cached, router_cached, PublicRouter};
248pub use schedule::spawn_schedule_sweeper;
249pub use seed::{ensure_seeded, SeedError};
250pub use admin::admin_page::{
254 find_admin_page, registered_admin_pages, AdminPageCtx, AdminPageHandler,
255 AdminPageHandlerRegistration, SidebarSection,
256};
257pub use block::{
258 find_block, registered_blocks, validate_block_registry, Block, BlockCountConstraint,
259 BlockError, BlockField, BlockFieldMeta, BlockRegistration, BlockRenderCtx,
260};
261pub use tree::{MaterializedPath, PathError};
262pub use tree_ops::{
263 cascade_url_path_to_descendants, compute_url_path, rebuild_all_url_paths,
264 validate_child_placement, NewPage, TreeError,
265};
266pub use widget::{Widget, WidgetKind};