From: Steve Myers Date: Mon, 29 Nov 2021 23:17:18 +0000 (-0800) Subject: Pin version of fd-lock to 3.0.0 X-Git-Tag: v0.4.0~12^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.OddLengthStringError.html?a=commitdiff_plain;h=4fd219e47004188ea7f504422790d634896bd3bd;p=bdk-cli Pin version of fd-lock to 3.0.0 --- diff --git a/Cargo.lock b/Cargo.lock index 740fcda..14e614f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -148,6 +148,7 @@ dependencies = [ "clap", "dirs-next", "env_logger", + "fd-lock", "log", "regex", "rustyline", @@ -534,13 +535,13 @@ checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" [[package]] name = "fd-lock" -version = "3.0.1" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfc110fe50727d46a428eed832df40affe9bf74d077cac1bf3f2718e823f14c5" +checksum = "b8806dd91a06a7a403a8e596f9bfbfb34e469efbc363fc9c9713e79e26472e36" dependencies = [ "cfg-if", "libc", - "windows-sys", + "winapi 0.3.9", ] [[package]] @@ -2251,49 +2252,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "windows-sys" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82ca39602d5cbfa692c4b67e3bcbb2751477355141c1ed434c94da4186836ff6" -dependencies = [ - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_msvc" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52695a41e536859d5308cc613b4a022261a274390b25bd29dfff4bf08505f3c2" - -[[package]] -name = "windows_i686_gnu" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f54725ac23affef038fecb177de6c9bf065787c2f432f79e3c373da92f3e1d8a" - -[[package]] -name = "windows_i686_msvc" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "51d5158a43cc43623c0729d1ad6647e62fa384a3d135fd15108d37c683461f64" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc31f409f565611535130cfe7ee8e6655d3fa99c1c61013981e491921b5ce954" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f2b8c7cbd3bfdddd9ab98769f9746a7fad1bca236554cd032b78d768bc0e89f" - [[package]] name = "winreg" version = "0.7.0" diff --git a/Cargo.toml b/Cargo.toml index cf1cd3b..8cdc422 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,12 +25,13 @@ rustyline = { version = "9.0", optional = true } dirs-next = { version = "2.0", optional = true } env_logger = { version = "0.7", optional = true } clap = { version = "2.33", optional = true } -regex = {version = "1", optional = true } +regex = { version = "1", optional = true } +fd-lock = { version = "=3.0.0", optional = true } [features] default = ["cli", "repl"] cli = ["bdk/key-value-db", "clap", "dirs-next", "env_logger"] -repl = ["regex", "rustyline"] +repl = ["regex", "rustyline", "fd-lock"] electrum = ["bdk/electrum"] esplora = [] esplora-ureq = ["esplora", "bdk/use-esplora-ureq"]