From ae61c4a9c3245c676cbc684b2cb8cc1887ddf267 Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Sun, 16 Apr 2023 09:00:54 +0200 Subject: [PATCH] Allow older versions of dependencies fancy-regex and bstr. This allow the source to be build on Debian Bookworm using the packages provided from Debian. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1b540a05..42f3f488 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,10 +12,10 @@ crate-type = ["cdylib"] pyo3 = { version = "0.17.3", features = ["extension-module"] } # tiktoken dependencies -fancy-regex = "0.10.0" +fancy-regex = ">=0.7.1" regex = "1.7.0" rustc-hash = "1.1.0" -bstr = "1.0.1" +bstr = ">=0.2.17" [profile.release] incremental = true