]> Repositorios git - scryer-prolog.git/commitdiff
workaround to make num tests work
authorSkgland <[email protected]>
Wed, 3 Mar 2021 00:16:13 +0000 (01:16 +0100)
committerSkgland <[email protected]>
Wed, 3 Mar 2021 00:18:24 +0000 (01:18 +0100)
crates/prolog_parser/Cargo.toml

index 8946bf270a36487d023ea998e53f87d402b32619..ba0e6ca2b683f0cad2387849a5bd7d4ce00f0b2e 100644 (file)
@@ -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"]