From 1c19cbdd5d624a9aea48485c7a4be40e23b1be2f Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Sun, 9 Oct 2022 10:53:59 -0400 Subject: [PATCH] Enable deterministic behaviour in the scraper by default --- Cargo.lock | 1 + Cargo.toml | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 689c5e2..6554925 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1498,6 +1498,7 @@ dependencies = [ "ego-tree", "getopts", "html5ever", + "indexmap", "matches", "selectors", "smallvec", diff --git a/Cargo.toml b/Cargo.toml index 28f9326..bb0b885 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,9 @@ +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [package] name = "haunter" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] ansi-to-html = "0.1" chrono = "0.4" @@ -15,3 +14,6 @@ text-diff = "0.4" scraper = "0.13" tempfile = "3" thirtyfour_sync = "0.27" + +[features] +default = ["scraper/deterministic"]