From 40e5a2dc35d7d74a7cf55a4a854e0f7a4e4048d2 Mon Sep 17 00:00:00 2001 From: Skgland Date: Wed, 3 Mar 2021 01:16:13 +0100 Subject: [PATCH] workaround to make num tests work --- crates/prolog_parser/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/prolog_parser/Cargo.toml b/crates/prolog_parser/Cargo.toml index 8946bf27..ba0e6ca2 100644 --- a/crates/prolog_parser/Cargo.toml +++ b/crates/prolog_parser/Cargo.toml @@ -20,4 +20,7 @@ path = "src/lib.rs" [features] num = ["num-rug-adapter"] -default = ["rug"] +# no default features to make num tests work +# workaround for --no-default-features and --features not working intuitively for workspaces with a root package +# see rust-lang/cargo#7160 +# default = ["rug"] -- 2.54.0