Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Workspace

Workspace layout (5.0.0+)

Starting with 5.0.0, apimock is organised as a Cargo workspace:

crateresponsibility
apimock-configTOML config model — load, validate, resolve relative paths. Defines the stage-1 edit / snapshot API types a GUI can depend on.
apimock-routingRule-set definitions, request matching, read-only view types for GUI tooling.
apimock-serverHTTP(S) listener, request dispatch, Rhai middleware compilation, response building.
apimock (workspace root)CLI binary + thin façade library. Re-exports the three member crates under apimock::config, apimock::routing, apimock::server.

End users installing via cargo install apimock or npx apimock see no difference from 4.8.0. Library consumers migrating from 4.x paths can find the mapping in CHANGELOG.md.