File: older-rustc-hash

package info (click to toggle)
rust-pep508-rs 0.9.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 520 kB
  • sloc: makefile: 2
file content (30 lines) | stat: -rw-r--r-- 939 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Index: pep508-rs/Cargo.toml
===================================================================
--- pep508-rs.orig/Cargo.toml
+++ pep508-rs/Cargo.toml
@@ -58,9 +58,9 @@ features = ["version-ranges"]
 [dependencies.regex]
 version = "1.10.4"
 
-[dependencies.rustc-hash]
-version = "2.0.0"
-
+[dependencies.rustc-hash]
+version = "1.1.0"
+
 [dependencies.schemars]
 version = "0.8.21"
 optional = true
Index: pep508-rs/src/marker/simplify.rs
===================================================================
--- pep508-rs.orig/src/marker/simplify.rs
+++ pep508-rs/src/marker/simplify.rs
@@ -4,7 +4,7 @@ use std::ops::Bound;
 use indexmap::IndexMap;
 use itertools::Itertools;
 use pep440_rs::{Version, VersionSpecifier};
-use rustc_hash::FxBuildHasher;
+use std::collections::hash_map::RandomState as FxBuildHasher;
 use version_ranges::Ranges;
 
 use crate::{ExtraOperator, MarkerExpression, MarkerOperator, MarkerTree, MarkerTreeKind};