1. Smallest Local Application
Add the facade:
Cargo.toml
[dependencies]
appcore-sdk = "1.0.0-rc.2"
Then validate the canonical local manifests and use bounded logging:
src/main.rs
use appcore_sdk::prelude::*;
fn main() -> AppResult<()> {
appcore_sdk::run("example-app", |app| {
app.logger()
.component("startup")
.info("application context is valid");
Ok(())
})
}
run does not open a listener, choose providers, or start a hidden host. The
application still owns application.toml, deployment.toml, and its business
code when moving beyond canonical local defaults.