Add our fast-float crate

This adds a dependency on https://github.com/fish-shell/fast-float-rust
which is our forked fast-float crate for parsing.
This commit is contained in:
ridiculousfish 2023-03-26 13:37:38 -07:00
parent 8bb1bb8ae1
commit 0e68405ccd
2 changed files with 7 additions and 0 deletions

6
fish-rust/Cargo.lock generated
View File

@ -347,6 +347,11 @@ dependencies = [
"libc",
]
[[package]]
name = "fast-float"
version = "0.2.0"
source = "git+https://github.com/fish-shell/fast-float-rust?branch=fish#9590c33a3f166a3533ba1cbb7a03e1105acec034"
[[package]]
name = "fastrand"
version = "1.9.0"
@ -367,6 +372,7 @@ dependencies = [
"cxx-build",
"cxx-gen",
"errno",
"fast-float",
"inventory",
"libc",
"lru",

View File

@ -7,6 +7,7 @@ rust-version = "1.67"
[dependencies]
widestring-suffix = { path = "./widestring-suffix/" }
pcre2 = { git = "https://github.com/fish-shell/rust-pcre2", branch = "master", default-features = false, features = ["utf32"] }
fast-float = { git = "https://github.com/fish-shell/fast-float-rust", branch="fish" }
autocxx = "0.23.1"
bitflags = "1.3.2"