Expand description
Shared wire types for the ZLayer platform.
This crate is the SDK-facing types crate: API DTOs, OCI image
references, and other serde-friendly wire shapes consumed by both
the daemon and clients. It is intentionally lightweight — no axum,
no tokio, no reqwest. Heavier server-side abstractions live in
zlayer-api, zlayer-core, and friends.
Modules§
- api
- Wire-type modules. Each maps to one logical area; downstream crates
import via
pub use zlayer_types::<area>::.... - auth
- Auth wire DTOs.
- client
- Client-facing wire types shared between the
ZLayerdaemon and SDK clients (CLI,zlayer-docker,zlayer-py, future language SDKs). - image_
ref_ serde - Serde helpers to (de)serialize an
ImageReferenceas its OCI-spec canonical string form ([host[:port]/]name[:tag][@digest]) instead of the default struct shape{registry, repository, tag, digest}. - spec
ZLayerV1 Service Specification- storage
- Storage
Stored*wire types.
Structs§
- Image
Reference - Canonical OCI image reference.