Skip to content

Commit

Permalink
deps: Upgrade edge-schema to 0.0.3
Browse files Browse the repository at this point in the history
Needed for some upstream schema changes.
  • Loading branch information
theduke committed Mar 21, 2024
1 parent 1af8c3c commit c72f6c9
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 35 deletions.
40 changes: 8 additions & 32 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ webc = { version = "5.8.0", default-features = false, features = ["package"] }
shared-buffer = "0.1.4"
rkyv = { version = "0.7.40", features = ["indexmap", "validation", "strict"] }
memmap2 = { version = "0.6.2" }
edge-schema = { version = "=0.0.3" }

[build-dependencies]
test-generator = { path = "tests/lib/test-generator" }
Expand Down
2 changes: 1 addition & 1 deletion lib/backend-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rust-version.workspace = true

[dependencies]
# Wasmer dependencies.
edge-schema = "0.0.2"
edge-schema.workspace = true
webc = "5"

# crates.io dependencies.
Expand Down
4 changes: 2 additions & 2 deletions lib/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ virtual-mio = { version = "0.3.0", path = "../virtual-io" }

webc = { workspace = true }
wasmer-api = { version = "=0.0.24", path = "../backend-api" }
edge-schema = { version = "=0.0.2" }
edge-util = { version = "=0.0.1" }
edge-schema.workspace = true
edge-util = { version = "=0.0.2" }

# Used by the mount command

Expand Down
6 changes: 6 additions & 0 deletions lib/cli/src/commands/app/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ impl AppCreator {
cli_args: None,
env: Default::default(),
volumes: None,
domains: None,
owner: None,
package: edge_schema::schema::StringWebcIdent(edge_schema::schema::WebcIdent {
repository: None,
namespace: self.owner,
Expand All @@ -211,6 +213,7 @@ impl AppCreator {
capabilities: None,
scheduled_tasks: None,
debug: Some(false),
extra: Default::default(),
};

Ok(AppCreatorOutput {
Expand Down Expand Up @@ -336,6 +339,7 @@ impl AppCreator {
// TODO: check if name already exists.
let cfg = AppConfigV1 {
app_id: None,
owner: None,
volumes: None,
name,
env: Default::default(),
Expand All @@ -347,6 +351,8 @@ impl AppCreator {
capabilities: None,
scheduled_tasks: None,
debug: Some(false),
domains: None,
extra: Default::default(),
};

Ok(AppCreatorOutput {
Expand Down

0 comments on commit c72f6c9

Please sign in to comment.