From b6e5af2e90b710d16a81df52d860cd8ab9bf82a1 Mon Sep 17 00:00:00 2001 From: Sammi De Guzman Date: Wed, 15 Sep 2021 12:27:58 -0700 Subject: [PATCH] Fix lexical-core issue --- Cargo.lock | 9 +++++---- Cargo.toml | 3 +++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6ce8e52..bee9597 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "aho-corasick" version = "0.7.15" @@ -453,12 +455,11 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "lexical-core" version = "0.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db65c6da02e61f55dae90a0ae427b2a5f6b3e8db09f58d10efab23af92592616" +source = "git+https://github.com/Gelbpunkt/rust-lexical?branch=fix-warnings-and-update-deps#601c9bfe16c944948d4c4a07e3c67878d72f6445" dependencies = [ "arrayvec", "bitflags", - "cfg-if 0.1.10", + "cfg-if 1.0.0", "ryu", "static_assertions", ] @@ -868,7 +869,7 @@ dependencies = [ [[package]] name = "rtfcre" -version = "2.0.0-dev3" +version = "2.0.0-dev4" dependencies = [ "criterion", "encoding_rs", diff --git a/Cargo.toml b/Cargo.toml index 49db763..2239c17 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,9 @@ readme = "README.md" [package.metadata.maturin] classifier = ["Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9"] +[patch.crates-io] +lexical-core = {git = 'https://github.com/Gelbpunkt/rust-lexical', branch = 'fix-warnings-and-update-deps'} + [lib] name = "rtfcre" crate_type = ["cdylib"]