use-docker-image
Primitive Docker image reference parsing for RustUse.
This crate splits common image references into registry, path, repository, tag, and digest components. It intentionally validates a conservative subset of image name syntax rather than claiming complete Docker compatibility.
Basic Usage
use DockerImageReference;
let reference: DockerImageReference = "ghcr.io/rustuse/app:0.1.0".parse?;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
# Ok::