Skip to content

Commit 57b004c

Browse files
authored
Merge pull request #1780 from lann/manifest-v2
Manifest V2
2 parents 648c5a3 + 426fa9a commit 57b004c

File tree

129 files changed

+3053
-2917
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+3053
-2917
lines changed

Cargo.lock

Lines changed: 80 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ authors = ["Fermyon Engineering <[email protected]>"]
1212
edition = "2021"
1313

1414
[dependencies]
15-
anyhow = "1.0"
15+
anyhow = { workspace = true }
1616
async-trait = "0.1"
1717
bytes = "1.1"
1818
chrono = "0.4"
@@ -78,6 +78,7 @@ subprocess = "0.2.9"
7878
openssl = { version = "0.10" }
7979

8080
[dev-dependencies]
81+
anyhow = { workspace = true, features = ["backtrace"] }
8182
hex = "0.4.3"
8283
hyper = { workspace = true }
8384
sha2 = "0.10.1"
@@ -107,6 +108,7 @@ llm-cublas = ["llm", "spin-trigger-http/llm-cublas"]
107108
members = ["crates/*", "sdk/rust", "sdk/rust/macro"]
108109

109110
[workspace.dependencies]
111+
anyhow = "1.0.75"
110112
tracing = { version = "0.1", features = ["log"] }
111113
wasmtime-wasi = { git = "https://github.com/bytecodealliance/wasmtime", rev = "c796ce7376a57a40605f03e74bd78cefcc9acf3a", features = [
112114
"tokio",

crates/app/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ edition = { workspace = true }
77
[dependencies]
88
anyhow = "1.0"
99
async-trait = "0.1"
10-
base64 = "0.21.3"
1110
ouroboros = "0.18.0"
1211
serde = { version = "1.0", features = ["derive"] }
1312
serde_json = "1.0"
1413
spin-core = { path = "../core" }
14+
spin-serde = { path = "../serde" }
1515
thiserror = "1.0"

crates/app/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ pub use metadata::MetadataKey;
2828
pub const APP_NAME_KEY: MetadataKey = MetadataKey::new("name");
2929
/// MetadataKey for extracting the application version.
3030
pub const APP_VERSION_KEY: MetadataKey = MetadataKey::new("version");
31+
/// MetadataKey for extracting the application description.
32+
pub const APP_DESCRIPTION_KEY: MetadataKey = MetadataKey::new("description");
3133
/// MetadataKey for extracting the OCI image digest.
3234
pub const OCI_IMAGE_DIGEST_KEY: MetadataKey = MetadataKey::new("oci_image_digest");
3335

0 commit comments

Comments
 (0)