01_hello_world/hello_world.rs
1// =============================================================================
2// #######
3// ### ### F: hello_world.rs
4// ## ## ## ## P: AppCore-Runtime
5// ## ##
6// C: 2026/09/04 00:00:00 by dnettoRaw
7// ## ## ## ## U: 2026/09/04 00:00:00 by dnettoRaw
8// ########### S: 1.0.0-rc.1
9// =============================================================================
10
11//! Start here: one dependency, no manifest files and no hidden services.
12//!
13//! The builder uses V4 by default. Keep it in a local variable when several
14//! events share the same application context.
15
16use appcore_sdk::prelude::*;
17
18fn main() -> AppResult<()> {
19 appcore_sdk::run("hello-world", |app| {
20 // `App::logger` carries the application identifier into every event.
21 let log = app.logger();
22
23 log.info("Hello, world!");
24
25 Ok(())
26 })
27}