From bdd26041f35d5e479673af39b84f7a19d993166b Mon Sep 17 00:00:00 2001 From: mohab metwally Date: Sat, 29 Oct 2022 15:52:39 +0200 Subject: [PATCH] optional dashu dep --- Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 0fa7dd6e8..a2046e99d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -133,7 +133,7 @@ sqlx = {version = "0.6.2", features = ["runtime-async-std-native-tls", "sqlite"] sled = {version = "0.34.7", optional = true} # big float -dashu = { version = "0.2.0", git = "https://github.com/ertosns/dashu" } +dashu = { version = "0.2.0", git = "https://github.com/ertosns/dashu", optional=true } [dev-dependencies] clap = {version = "3.2.20", features = ["derive"]} @@ -174,6 +174,7 @@ blockchain = [ "tx", "node", "util", + "dep:dashu", ] crypto = [