Skip to main content

Crate planspec_server

Crate planspec_server 

Source
Expand description

PlanSpec Server Library

This crate provides the PlanSpec API server as a library, allowing it to be embedded in other applications (like the CLI’s serve command).

Structs§

AppState
Application state shared across handlers
PlanResolver
Controller that resolves Plans for Goals
ServerConfig
Server configuration
Store
SQLite-backed storage for PlanSpec resources
WatchBroadcaster
Broadcasts watch events to subscribers

Functions§

build_router
Build the application router with the given state
run_server
Run the PlanSpec server with the given configuration