jerrycan 0.1.0

The AI-native Rust backend platform: framework, CLI, and MCP server. https://jerrycan.cc
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! The facade must expose exactly the paths generated code uses.

use jerrycan::prelude::*;

#[jerrycan::main]
async fn demo_main() -> Result<()> {
    // Never actually served; this test proves the attribute + paths compile.
    let _app = App::new().route("/ping", get(|| async { "pong" }));
    Ok(())
}

#[test]
fn facade_paths_compile() {
    // demo_main is intentionally unused at runtime; its existence is the test.
    let _ = demo_main as fn() -> Result<()>;
}