Skip to content

Commit

Permalink
Merge branch 'main' into update-microsoft-credit
Browse files Browse the repository at this point in the history
  • Loading branch information
sjudson authored Aug 21, 2024
2 parents 03a7ae3 + cf86ffd commit aa0c702
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion cli/src/command/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,17 @@ fn setup_crate(host_path: PathBuf, rev: Option<String>, tag: Option<String>) ->
)?;

// add postcard because it is used for (de)serializing from/to the input/output tapes
cargo(Some(&guest_path), ["add", "postcard", "-F", "alloc"])?;
// Hardcode postcard version to 1.0.8
cargo(
Some(&guest_path),
[
"add",
"postcard@=1.0.8",
"-F",
"alloc",
"--no-default-features",
],
)?;

let mut fp2 = fs::OpenOptions::new()
.append(true)
Expand Down
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ categories = { workspace = true }

[dependencies]
nexus-rt-macros = { path = "macros", version = "0.1.0" }
postcard = { version = "1.0.8", features = ["alloc"] }
postcard = { version = "=1.0.8", features = ["alloc"] }
serde = { version = "1.0", default-features = false }

[lib]
Expand Down
2 changes: 1 addition & 1 deletion sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ serde.workspace = true

nexus-core = { path = "../core", features = ["prover_nova", "prover_jolt", "prover_hypernova"] }
nexus-macro = { path = "../macro" }
postcard = { version = "1.0.8", features = ["alloc"] }
postcard = { version = "=1.0.8", features = ["alloc"] }
uuid = { version = "1.9.1", features = ["v4", "fast-rng"] }
thiserror = "1.0.61"

Expand Down

0 comments on commit aa0c702

Please sign in to comment.