changeset 53016:e9d942fe7b95

hg-core: add dependency static_assertions_next We already use this in pyo3-sharedref. I need to use it in hg-core to assert that bdiff::Lines is !Sync.
author Mitchell Kember <mkember@janestreet.com>
date Tue, 25 Feb 2025 09:27:09 -0500
parents e2c239dae5a2
children 3ac28aa1430e
files rust/Cargo.lock rust/hg-core/Cargo.toml
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rust/Cargo.lock	Sat Feb 22 18:25:25 2025 -0500
+++ b/rust/Cargo.lock	Tue Feb 25 09:27:09 2025 -0500
@@ -703,6 +703,7 @@
  "self_cell",
  "serde",
  "sha-1 0.10.1",
+ "static_assertions_next",
  "tempfile",
  "thread_local",
  "toml",
--- a/rust/hg-core/Cargo.toml	Sat Feb 22 18:25:25 2025 -0500
+++ b/rust/hg-core/Cargo.toml	Tue Feb 25 09:27:09 2025 -0500
@@ -55,6 +55,7 @@
 regex-syntax = "0.8.5"
 unicode-width = "0.2.0"
 bit-set = "0.8.0"
+static_assertions_next = "1.1.2"
 
 # We don't use the `miniz-oxide` backend to not change rhg benchmarks and until
 # we have a clearer view of which backend is the fastest.