We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e678d44 commit 8612c9eCopy full SHA for 8612c9e
examples/.base/src/main.rs
@@ -3,7 +3,13 @@ mod templates;
3
4
use perseus::{Html, PerseusApp};
5
6
-#[perseus::main(perseus_integration::dflt_server)]
+
7
+/// Replace `<perseus_integration>` with an integration of your choice.
8
+/// Examples of supported integrations:
9
+/// - perseus_warp (recommended)
10
+/// - perseus-actix-web
11
+/// - perseus-axum
12
+#[perseus::main(<perseus_integration>::dflt_server)]
13
pub fn main<G: Html>() -> PerseusApp<G> {
14
PerseusApp::new()
15
.template(crate::templates::index::get_template)
0 commit comments