Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freeze postcard to 1.0.8 #276

Merged
merged 1 commit into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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