# HG changeset patch # User Mitchell Kember # Date 1740493629 18000 # Node ID e9d942fe7b95f5039590da9f4e1525da369bbb6f # Parent e2c239dae5a27cae33f542fa2df9d52baf116ccd 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. diff -r e2c239dae5a2 -r e9d942fe7b95 rust/Cargo.lock --- 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", diff -r e2c239dae5a2 -r e9d942fe7b95 rust/hg-core/Cargo.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.