From 497934a7b44a9857be3698354711ad1b0da4b8c9 Mon Sep 17 00:00:00 2001 From: Wilco Kusee Date: Sat, 23 Mar 2019 08:44:29 +0100 Subject: Disable fork feature for proptest --- crates/ra_text_edit/Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'crates/ra_text_edit') diff --git a/crates/ra_text_edit/Cargo.toml b/crates/ra_text_edit/Cargo.toml index 5769940df..b40026004 100644 --- a/crates/ra_text_edit/Cargo.toml +++ b/crates/ra_text_edit/Cargo.toml @@ -7,7 +7,12 @@ publish = false [dependencies] text_unit = "0.1.6" -proptest = "0.9.0" + +[dependencies.proptest] +version = "0.9.0" +# Disable `fork` feature to allow compiling on webassembly +default-features = false +features = ["std", "bit-set", "break-dead-code"] [dev-dependencies] test_utils = { path = "../test_utils" } -- cgit v1.2.3