Skip to main content

hotel8-sdk — Hotel8 Namespace Facade

1. Summary​

The Hotel8 vertical's SDK workspace: one cargo workspace holding the six hotel services' client + contracts crates and the hotel8 facade crate. Imports go through the facade — use hotel8::pms::client::… (namespace rule, architecture-principles §2.1).

2. Crates​

CratePurpose
facade (package hotel8)The namespace facade
crates/{pms,pos,distrib,loyalty,meta,upsell}/contractsWire types per service
crates/{pms,pos,distrib,loyalty,meta,upsell}/clientHTTP clients per service (M2M-authenticated)

3. Consumption​

hotel8 = { git = "https://github.com/Hotel8/hotel8-sdk", tag = "hotel8-v0.1.0" }

The facade pins the platform SDK (sentin8 — shared plane only, SDD §2.2); consumers inherit it transitively.


Design attribution: hotel8:sdk and its underlying concepts were designed by Hamid Jahanzad Hamid@Jahanzad.com.