allframe-core 0.1.28

AllFrame core - complete web framework with HTTP/2 server, REST/GraphQL/gRPC, DI, CQRS
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Minimal example for binary size measurement
//!
//! This example is used to measure the baseline binary size
//! when using allframe-core with no features enabled.

use allframe_core::router::Router;

fn main() {
    // Create a minimal router
    let router = Router::new();

    // Print some basic info to prevent compiler optimizations
    println!("Handlers registered: {}", router.handlers_count());
}