pin a version of serde without intransparent unreproducible binary blobs

This commit is contained in:
Ralf Jung 2023-08-20 16:31:10 +02:00
parent 6249c70dbb
commit 44fa4cdf94
4 changed files with 8 additions and 2 deletions

View File

@ -443,6 +443,7 @@ dependencies = [
"rand",
"regex",
"rustc_version",
"serde",
"smallvec",
"ui_test",
]

View File

@ -41,6 +41,8 @@ rustc_version = "0.4"
# Features chosen to match those required by env_logger, to avoid rebuilds
regex = { version = "1.5.5", default-features = false, features = ["perf", "std"] }
lazy_static = "1.4.0"
# Pin a version of serde without intransparent unreproducible binary blobs.
serde = { version = "1.0, < 1.0.172", features = ["derive"] }
[package.metadata.rust-analyzer]
# This crate uses #[feature(rustc_private)].

View File

@ -22,7 +22,8 @@ rustc-build-sysroot = "0.4.1"
# Enable some feature flags that dev-dependencies need but dependencies
# do not. This makes `./miri install` after `./miri build` faster.
serde = { version = "*", features = ["derive"] }
# Pin a version of serde without intransparent unreproducible binary blobs.
serde = { version = "1.0, < 1.0.172", features = ["derive"] }
[build-dependencies]
rustc_tools_util = "0.3"

View File

@ -20,7 +20,9 @@ issue_rust_86261 = { path = "issue-rust-86261" }
[dev-dependencies]
byteorder_2 = { package = "byteorder", version = "0.5" } # to test dev-dependencies behave as expected, with renaming
serde_derive = "1.0" # not actually used, but exercises some unique code path (`--extern` .so file)
# Not actually used, but exercises some unique code path (`--extern` .so file).
# Pin a version without intransparent unreproducible binary blobs.
serde_derive = "=1.0.152"
[build-dependencies]
autocfg = "1"