Skip to content

Commit

Permalink
Merge pull request #1780 from lann/manifest-v2
Browse files Browse the repository at this point in the history
Manifest V2
  • Loading branch information
lann authored Oct 17, 2023
2 parents 648c5a3 + 426fa9a commit 57b004c
Show file tree
Hide file tree
Showing 129 changed files with 3,053 additions and 2,917 deletions.
113 changes: 80 additions & 33 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ authors = ["Fermyon Engineering <[email protected]>"]
edition = "2021"

[dependencies]
anyhow = "1.0"
anyhow = { workspace = true }
async-trait = "0.1"
bytes = "1.1"
chrono = "0.4"
Expand Down Expand Up @@ -78,6 +78,7 @@ subprocess = "0.2.9"
openssl = { version = "0.10" }

[dev-dependencies]
anyhow = { workspace = true, features = ["backtrace"] }
hex = "0.4.3"
hyper = { workspace = true }
sha2 = "0.10.1"
Expand Down Expand Up @@ -107,6 +108,7 @@ llm-cublas = ["llm", "spin-trigger-http/llm-cublas"]
members = ["crates/*", "sdk/rust", "sdk/rust/macro"]

[workspace.dependencies]
anyhow = "1.0.75"
tracing = { version = "0.1", features = ["log"] }
wasmtime-wasi = { git = "https://github.com/bytecodealliance/wasmtime", rev = "c796ce7376a57a40605f03e74bd78cefcc9acf3a", features = [
"tokio",
Expand Down
2 changes: 1 addition & 1 deletion crates/app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ edition = { workspace = true }
[dependencies]
anyhow = "1.0"
async-trait = "0.1"
base64 = "0.21.3"
ouroboros = "0.18.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
spin-core = { path = "../core" }
spin-serde = { path = "../serde" }
thiserror = "1.0"
2 changes: 2 additions & 0 deletions crates/app/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ pub use metadata::MetadataKey;
pub const APP_NAME_KEY: MetadataKey = MetadataKey::new("name");
/// MetadataKey for extracting the application version.
pub const APP_VERSION_KEY: MetadataKey = MetadataKey::new("version");
/// MetadataKey for extracting the application description.
pub const APP_DESCRIPTION_KEY: MetadataKey = MetadataKey::new("description");
/// MetadataKey for extracting the OCI image digest.
pub const OCI_IMAGE_DIGEST_KEY: MetadataKey = MetadataKey::new("oci_image_digest");

Expand Down
Loading

0 comments on commit 57b004c

Please sign in to comment.