spin_manifest/schema/mod.rs
1//! Serialization types for the Spin manifest file format (spin.toml).
2
3use serde::Deserialize;
4
5/// Serialization types for the Spin manifest V1.
6pub mod v1;
7/// Serialization types for the Spin manifest V2.
8pub mod v2;
9
10// Types common between manifest versions. Re-exported from versioned modules
11// to make them easier to split if necessary.
12pub(crate) mod common;
13mod json_schema;
14
15#[derive(Deserialize)]
16pub(crate) struct VersionProbe {
17 #[serde(alias = "spin_version")]
18 pub spin_manifest_version: toml::Value,
19}