From: Skgland Date: Wed, 3 Mar 2021 00:16:13 +0000 (+0100) Subject: workaround to make num tests work X-Git-Tag: v0.9.0~141^2 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=40e5a2dc35d7d74a7cf55a4a854e0f7a4e4048d2;p=scryer-prolog.git workaround to make num tests work --- 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"]