[package]
edition = "2021"
rust-version = "1.88"
name = "rustango-cms"
version = "0.4.0"
authors = ["Ievgenii Svyryd <ujeenet2@gmail.com>"]
build = "build.rs"
exclude = [
"docs/img",
"examples/*/photos",
"e2e",
".github",
".cargo",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A page-tree content management system for Rust, built on rustango"
homepage = "https://cms.rustango.com"
documentation = "https://docs.rs/rustango-cms"
readme = "README.md"
keywords = [
"cms",
"content",
"headless",
"rustango",
"web",
]
categories = [
"web-programming",
"web-programming::http-server",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ujeenet/rustango-cms"
[package.metadata.docs.rs]
features = [
"postgres",
"sqlite",
"mysql",
"storage_s3",
"cache_cloudflare",
"cache_varnish",
"cache_cloudfront",
"cache_gcp",
"cache_azure",
"search_elasticsearch",
"test_utils",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
avif = ["image/avif"]
cache_azure = ["rustango/http-client"]
cache_cloudflare = ["rustango/http-client"]
cache_cloudfront = [
"dep:aws-config",
"dep:aws-sdk-cloudfront",
]
cache_gcp = ["rustango/http-client"]
cache_varnish = ["rustango/http-client"]
default = ["postgres"]
mysql = ["rustango/mysql"]
postgres = ["rustango/postgres"]
search_elasticsearch = ["rustango/http-client"]
sqlite = ["rustango/sqlite"]
storage_s3 = ["rustango/storage-s3"]
test_utils = ["rustango/test_utils"]
[lib]
name = "rustango_cms"
path = "src/lib.rs"
[[example]]
name = "ceramics_shop"
path = "examples/ceramics_shop/main.rs"
[[example]]
name = "cms_demo"
path = "examples/cms_demo/main.rs"
[[example]]
name = "gen_categories_migration"
path = "examples/gen_categories_migration.rs"
[[example]]
name = "gen_framework_snapshot_sync"
path = "examples/gen_framework_snapshot_sync.rs"
[[example]]
name = "gen_migration"
path = "examples/gen_migration.rs"
[[example]]
name = "gen_page_builder_migration"
path = "examples/gen_page_builder_migration.rs"
[[test]]
name = "admin_surface"
path = "tests/admin_surface.rs"
[[test]]
name = "analytics_bounce_sqlite"
path = "tests/analytics_bounce_sqlite.rs"
[[test]]
name = "api_error_envelope"
path = "tests/api_error_envelope.rs"
[[test]]
name = "api_menus"
path = "tests/api_menus.rs"
[[test]]
name = "api_pages_list_sqlite"
path = "tests/api_pages_list_sqlite.rs"
[[test]]
name = "api_stream_fields"
path = "tests/api_stream_fields.rs"
[[test]]
name = "api_tree"
path = "tests/api_tree.rs"
[[test]]
name = "auth_gate"
path = "tests/auth_gate.rs"
[[test]]
name = "auto_menu_served_sqlite"
path = "tests/auto_menu_served_sqlite.rs"
[[test]]
name = "block_derive"
path = "tests/block_derive.rs"
[[test]]
name = "block_enrich"
path = "tests/block_enrich.rs"
[[test]]
name = "block_registry"
path = "tests/block_registry.rs"
[[test]]
name = "breadcrumbs_sqlite"
path = "tests/breadcrumbs_sqlite.rs"
[[test]]
name = "cache_purge_roundtrip"
path = "tests/cache_purge_roundtrip.rs"
[[test]]
name = "children_visibility_sqlite"
path = "tests/children_visibility_sqlite.rs"
[[test]]
name = "chooser_enrich_sqlite"
path = "tests/chooser_enrich_sqlite.rs"
[[test]]
name = "cms_admin_sqlite"
path = "tests/cms_admin_sqlite.rs"
[[test]]
name = "code_block_render"
path = "tests/code_block_render.rs"
[[test]]
name = "embed_block_render"
path = "tests/embed_block_render.rs"
[[test]]
name = "feed_render"
path = "tests/feed_render.rs"
[[test]]
name = "framework_snapshot_drift"
path = "tests/framework_snapshot_drift.rs"
[[test]]
name = "hooks_async_sqlite"
path = "tests/hooks_async_sqlite.rs"
[[test]]
name = "job_tenant_resolve_sqlite"
path = "tests/job_tenant_resolve_sqlite.rs"
[[test]]
name = "lazy_seed_sqlite"
path = "tests/lazy_seed_sqlite.rs"
[[test]]
name = "mcp_form_snippet_sqlite"
path = "tests/mcp_form_snippet_sqlite.rs"
[[test]]
name = "mcp_list_filters_sqlite"
path = "tests/mcp_list_filters_sqlite.rs"
[[test]]
name = "mcp_publish_gate_sqlite"
path = "tests/mcp_publish_gate_sqlite.rs"
[[test]]
name = "mcp_update_page_builder_sqlite"
path = "tests/mcp_update_page_builder_sqlite.rs"
[[test]]
name = "mcp_write_authz_sqlite"
path = "tests/mcp_write_authz_sqlite.rs"
[[test]]
name = "mysql_long_text"
path = "tests/mysql_long_text.rs"
[[test]]
name = "notify_drain_sqlite"
path = "tests/notify_drain_sqlite.rs"
[[test]]
name = "notify_target_without_key_sqlite"
path = "tests/notify_target_without_key_sqlite.rs"
[[test]]
name = "page_builder_public_body_sqlite"
path = "tests/page_builder_public_body_sqlite.rs"
[[test]]
name = "page_hooks_sqlite"
path = "tests/page_hooks_sqlite.rs"
[[test]]
name = "page_move_sqlite"
path = "tests/page_move_sqlite.rs"
[[test]]
name = "page_type_derive"
path = "tests/page_type_derive.rs"
[[test]]
name = "password_reset_link_sqlite"
path = "tests/password_reset_link_sqlite.rs"
[[test]]
name = "permission_engine_sqlite"
path = "tests/permission_engine_sqlite.rs"
[[test]]
name = "permissions_sqlite"
path = "tests/permissions_sqlite.rs"
[[test]]
name = "revision_sequence_sqlite"
path = "tests/revision_sequence_sqlite.rs"
[[test]]
name = "richtext_links_sqlite"
path = "tests/richtext_links_sqlite.rs"
[[test]]
name = "root_page_type_whitelist"
path = "tests/root_page_type_whitelist.rs"
[[test]]
name = "scaffold_blog_template"
path = "tests/scaffold_blog_template.rs"
[[test]]
name = "schedule_sweep_sqlite"
path = "tests/schedule_sweep_sqlite.rs"
[[test]]
name = "search_backend_ranking"
path = "tests/search_backend_ranking.rs"
[[test]]
name = "security_log_sqlite"
path = "tests/security_log_sqlite.rs"
[[test]]
name = "sitemap_render"
path = "tests/sitemap_render.rs"
[[test]]
name = "sites_sqlite"
path = "tests/sites_sqlite.rs"
[[test]]
name = "snippet_html_sqlite"
path = "tests/snippet_html_sqlite.rs"
[[test]]
name = "starter_themes_sqlite"
path = "tests/starter_themes_sqlite.rs"
[[test]]
name = "stream_render_failure"
path = "tests/stream_render_failure.rs"
[[test]]
name = "tree_capacity_sqlite"
path = "tests/tree_capacity_sqlite.rs"
[[test]]
name = "tree_concurrency"
path = "tests/tree_concurrency.rs"
[[test]]
name = "view_restriction_listing_sqlite"
path = "tests/view_restriction_listing_sqlite.rs"
[[test]]
name = "widget_render"
path = "tests/widget_render.rs"
[[test]]
name = "workflow_decisions_sqlite"
path = "tests/workflow_decisions_sqlite.rs"
[dependencies.ammonia]
version = "4"
default-features = false
[dependencies.async-trait]
version = "0.1"
[dependencies.aws-config]
version = "1"
features = [
"default-https-client",
"rt-tokio",
"credentials-process",
"sso",
]
optional = true
default-features = false
[dependencies.aws-sdk-cloudfront]
version = "1"
features = [
"default-https-client",
"rt-tokio",
]
optional = true
default-features = false
[dependencies.axum]
version = "0.8"
features = [
"tokio",
"http1",
"json",
"form",
"query",
"multipart",
"ws",
]
default-features = false
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"clock",
]
default-features = false
[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.getrandom]
version = "0.4"
[dependencies.image]
version = "0.25"
features = [
"png",
"jpeg",
"webp",
"gif",
"bmp",
]
default-features = false
[dependencies.inventory]
version = "0.3"
[dependencies.mime_guess]
version = "2"
[dependencies.pulldown-cmark]
version = "0.13.6"
features = ["html"]
default-features = false
[dependencies.rand]
version = "0.10"
features = [
"std",
"std_rng",
"thread_rng",
]
default-features = false
[dependencies.regex]
version = "1"
features = [
"std",
"unicode-perl",
]
default-features = false
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.rustango]
version = "0.65"
features = [
"admin",
"admin-sso",
"auth_flows",
"cache",
"cache-page",
"config",
"email",
"forms",
"jobs",
"manage",
"passwords",
"runtime",
"signals",
"signed_url",
"storage",
"tenancy",
"template_views",
"websocket",
"mcp",
"http-client",
]
default-features = false
[dependencies.rustango-cms-macros]
version = "0.4.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_urlencoded]
version = "0.7"
[dependencies.sha2]
version = "0.11.0"
[dependencies.tera]
version = "1.20"
features = ["builtins"]
default-features = false
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tower]
version = "0.5"
features = ["util"]
default-features = false
[dependencies.tracing]
version = "0.1"
[dependencies.zip]
version = "9"
features = ["deflate-flate2"]
default-features = false
[dev-dependencies.httpmock]
version = "0.8"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[lints.rust]
unsafe_code = "forbid"
[profile.dev]
incremental = false
[profile.test]
incremental = false