pagetop-website/tools/doccheck/Cargo.toml
Manuel Cillero f42f5e9b89 📝 Add mail and file upload guides
Document pagetop-mail (configuration, templates, layout, previews,
queue and tests with the outbox) and file uploads (`web::Upload`,
`form::File`, `web::Download` and the [upload] settings). doccheck
enables the mail queue, keeps mail in memory and saves uploads under
`target/`.
2026-11-02 17:29:37 +01:00

33 lines
1.5 KiB
TOML

[package]
name = "doccheck"
version = "0.0.0"
edition = "2024"
description = "Compiles and runs the Rust examples of the PageTop guides (see tools/doccheck.sh)."
publish = false
# Independent of the website package: it only exists to check the guides.
[workspace]
[dependencies]
pagetop = { path = "../../../pagetop" }
pagetop-bootsier = { path = "../../../pagetop/extensions/pagetop-bootsier" }
pagetop-build = { path = "../../../pagetop/helpers/pagetop-build" }
pagetop-cron = { path = "../../../pagetop/extensions/pagetop-cron" }
pagetop-htmx = { path = "../../../pagetop/extensions/pagetop-htmx" }
pagetop-mail = { path = "../../../pagetop/extensions/pagetop-mail", features = ["queue"] }
pagetop-seaorm = { path = "../../../pagetop/extensions/pagetop-seaorm", features = ["sqlite"] }
pagetop-admin = { path = "../../../pagetop/extensions/pagetop-admin" }
pagetop-user = { path = "../../../pagetop/extensions/pagetop-user" }
serde = { version = "1", features = ["derive"] }
thiserror = "2"
tokio = { version = "1", features = ["full"] }
tower-http = { version = "0.7", features = ["compression-gzip", "cors", "limit", "timeout"] }
[build-dependencies]
pagetop-build = { path = "../../../pagetop/helpers/pagetop-build" }
# The examples are only compiled and run to check them: without debug info or incremental caches
# they take far less disk.
[profile.dev]
debug = 0
incremental = false