47 releases
Uses new Rust 2024
| new 0.1.27117617127 | Jun 8, 2026 |
|---|---|
| 0.1.27101538168 | Jun 7, 2026 |
| 0.1.26628825486 | May 29, 2026 |
#28 in #greentic
1,557 downloads per month
Used in 6 crates
(4 directly)
155KB
3K
SLoC
Greentic deployment object-model schemas.
See plans/next-gen-deployment.md §5 for the design rationale. This crate is
the single owner of the Environment, Revision, TrafficSplit,
BundleDeployment, Credentials, PackConfig, and RuntimeConfig
types. Other crates depend on it; nothing in this crate depends on
operational or runtime code.
greentic-deploy-spec
Schema crate for Greentic's deployment object model. Defines:
Environment(§5.1) +EnvironmentHostConfig+EnvPackBinding+CapabilitySlot+PackDescriptorEnvironmentRuntime(§5.1a)Revision(§5.2) +RevisionLifecycle+ transition predicateTrafficSplit(§5.3) + basis-points validatorBundleDeployment(§5.4) + revenue-share validatorCredentials(§5.5)PackConfig(§5.6) —non_secret+secret_refs+runtime_refsRuntimeConfig(§5.7) +RevisionRuntimeBlock
This crate is the single owner of these schemas. Other crates depend on it; nothing in this crate
depends on operational/runtime code. JSON-schema generation is gated behind the schemars feature
and a thin gen-schemas binary.
See plans/next-gen-deployment.md §5 for the design rationale.
Dependencies
~11–16MB
~288K SLoC