From f28600031d6edc3be6ab1709f45d14e9c07b5ccb Mon Sep 17 00:00:00 2001 From: Tamo Date: Tue, 9 Nov 2021 16:16:28 +0100 Subject: [PATCH] Rename the filter_parser crate into filter-parser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Clément Renault --- Cargo.toml | 2 +- {filter_parser => filter-parser}/Cargo.toml | 2 +- {filter_parser => filter-parser}/README.md | 0 {filter_parser => filter-parser}/fuzz/Cargo.toml | 4 ++-- {filter_parser => filter-parser}/fuzz/corpus/parse/test_1 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_10 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_11 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_12 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_13 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_14 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_15 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_16 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_17 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_18 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_19 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_2 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_20 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_21 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_22 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_23 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_24 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_25 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_26 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_27 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_28 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_29 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_3 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_30 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_31 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_32 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_33 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_34 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_35 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_36 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_37 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_38 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_39 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_4 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_40 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_41 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_42 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_43 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_5 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_6 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_7 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_8 | 0 {filter_parser => filter-parser}/fuzz/corpus/parse/test_9 | 0 {filter_parser => filter-parser}/fuzz/fuzz_targets/parse.rs | 0 {filter_parser => filter-parser}/src/condition.rs | 0 {filter_parser => filter-parser}/src/error.rs | 0 {filter_parser => filter-parser}/src/lib.rs | 0 {filter_parser => filter-parser}/src/main.rs | 0 {filter_parser => filter-parser}/src/value.rs | 0 filter_parser/fuzz/.gitignore | 3 --- milli/Cargo.toml | 2 +- 55 files changed, 5 insertions(+), 8 deletions(-) rename {filter_parser => filter-parser}/Cargo.toml (89%) rename {filter_parser => filter-parser}/README.md (100%) rename {filter_parser => filter-parser}/fuzz/Cargo.toml (85%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_1 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_10 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_11 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_12 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_13 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_14 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_15 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_16 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_17 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_18 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_19 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_2 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_20 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_21 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_22 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_23 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_24 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_25 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_26 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_27 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_28 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_29 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_3 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_30 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_31 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_32 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_33 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_34 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_35 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_36 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_37 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_38 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_39 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_4 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_40 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_41 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_42 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_43 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_5 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_6 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_7 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_8 (100%) rename {filter_parser => filter-parser}/fuzz/corpus/parse/test_9 (100%) rename {filter_parser => filter-parser}/fuzz/fuzz_targets/parse.rs (100%) rename {filter_parser => filter-parser}/src/condition.rs (100%) rename {filter_parser => filter-parser}/src/error.rs (100%) rename {filter_parser => filter-parser}/src/lib.rs (100%) rename {filter_parser => filter-parser}/src/main.rs (100%) rename {filter_parser => filter-parser}/src/value.rs (100%) delete mode 100644 filter_parser/fuzz/.gitignore diff --git a/Cargo.toml b/Cargo.toml index 5d2d47713..6b3e12f07 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [workspace] -members = ["milli", "filter_parser", "http-ui", "benchmarks", "infos", "helpers", "cli"] +members = ["milli", "filter-parser", "http-ui", "benchmarks", "infos", "helpers", "cli"] default-members = ["milli"] [profile.dev] diff --git a/filter_parser/Cargo.toml b/filter-parser/Cargo.toml similarity index 89% rename from filter_parser/Cargo.toml rename to filter-parser/Cargo.toml index 80767d5c4..ee44bcb7f 100644 --- a/filter_parser/Cargo.toml +++ b/filter-parser/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "filter_parser" +name = "filter-parser" version = "0.1.0" edition = "2021" diff --git a/filter_parser/README.md b/filter-parser/README.md similarity index 100% rename from filter_parser/README.md rename to filter-parser/README.md diff --git a/filter_parser/fuzz/Cargo.toml b/filter-parser/fuzz/Cargo.toml similarity index 85% rename from filter_parser/fuzz/Cargo.toml rename to filter-parser/fuzz/Cargo.toml index 33e604e73..246276f2c 100644 --- a/filter_parser/fuzz/Cargo.toml +++ b/filter-parser/fuzz/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "filter_parser-fuzz" +name = "filter-parser-fuzz" version = "0.0.0" authors = ["Automatically generated"] publish = false @@ -11,7 +11,7 @@ cargo-fuzz = true [dependencies] libfuzzer-sys = "0.4" -[dependencies.filter_parser] +[dependencies.filter-parser] path = ".." # Prevent this from interfering with workspaces diff --git a/filter_parser/fuzz/corpus/parse/test_1 b/filter-parser/fuzz/corpus/parse/test_1 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_1 rename to filter-parser/fuzz/corpus/parse/test_1 diff --git a/filter_parser/fuzz/corpus/parse/test_10 b/filter-parser/fuzz/corpus/parse/test_10 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_10 rename to filter-parser/fuzz/corpus/parse/test_10 diff --git a/filter_parser/fuzz/corpus/parse/test_11 b/filter-parser/fuzz/corpus/parse/test_11 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_11 rename to filter-parser/fuzz/corpus/parse/test_11 diff --git a/filter_parser/fuzz/corpus/parse/test_12 b/filter-parser/fuzz/corpus/parse/test_12 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_12 rename to filter-parser/fuzz/corpus/parse/test_12 diff --git a/filter_parser/fuzz/corpus/parse/test_13 b/filter-parser/fuzz/corpus/parse/test_13 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_13 rename to filter-parser/fuzz/corpus/parse/test_13 diff --git a/filter_parser/fuzz/corpus/parse/test_14 b/filter-parser/fuzz/corpus/parse/test_14 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_14 rename to filter-parser/fuzz/corpus/parse/test_14 diff --git a/filter_parser/fuzz/corpus/parse/test_15 b/filter-parser/fuzz/corpus/parse/test_15 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_15 rename to filter-parser/fuzz/corpus/parse/test_15 diff --git a/filter_parser/fuzz/corpus/parse/test_16 b/filter-parser/fuzz/corpus/parse/test_16 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_16 rename to filter-parser/fuzz/corpus/parse/test_16 diff --git a/filter_parser/fuzz/corpus/parse/test_17 b/filter-parser/fuzz/corpus/parse/test_17 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_17 rename to filter-parser/fuzz/corpus/parse/test_17 diff --git a/filter_parser/fuzz/corpus/parse/test_18 b/filter-parser/fuzz/corpus/parse/test_18 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_18 rename to filter-parser/fuzz/corpus/parse/test_18 diff --git a/filter_parser/fuzz/corpus/parse/test_19 b/filter-parser/fuzz/corpus/parse/test_19 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_19 rename to filter-parser/fuzz/corpus/parse/test_19 diff --git a/filter_parser/fuzz/corpus/parse/test_2 b/filter-parser/fuzz/corpus/parse/test_2 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_2 rename to filter-parser/fuzz/corpus/parse/test_2 diff --git a/filter_parser/fuzz/corpus/parse/test_20 b/filter-parser/fuzz/corpus/parse/test_20 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_20 rename to filter-parser/fuzz/corpus/parse/test_20 diff --git a/filter_parser/fuzz/corpus/parse/test_21 b/filter-parser/fuzz/corpus/parse/test_21 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_21 rename to filter-parser/fuzz/corpus/parse/test_21 diff --git a/filter_parser/fuzz/corpus/parse/test_22 b/filter-parser/fuzz/corpus/parse/test_22 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_22 rename to filter-parser/fuzz/corpus/parse/test_22 diff --git a/filter_parser/fuzz/corpus/parse/test_23 b/filter-parser/fuzz/corpus/parse/test_23 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_23 rename to filter-parser/fuzz/corpus/parse/test_23 diff --git a/filter_parser/fuzz/corpus/parse/test_24 b/filter-parser/fuzz/corpus/parse/test_24 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_24 rename to filter-parser/fuzz/corpus/parse/test_24 diff --git a/filter_parser/fuzz/corpus/parse/test_25 b/filter-parser/fuzz/corpus/parse/test_25 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_25 rename to filter-parser/fuzz/corpus/parse/test_25 diff --git a/filter_parser/fuzz/corpus/parse/test_26 b/filter-parser/fuzz/corpus/parse/test_26 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_26 rename to filter-parser/fuzz/corpus/parse/test_26 diff --git a/filter_parser/fuzz/corpus/parse/test_27 b/filter-parser/fuzz/corpus/parse/test_27 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_27 rename to filter-parser/fuzz/corpus/parse/test_27 diff --git a/filter_parser/fuzz/corpus/parse/test_28 b/filter-parser/fuzz/corpus/parse/test_28 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_28 rename to filter-parser/fuzz/corpus/parse/test_28 diff --git a/filter_parser/fuzz/corpus/parse/test_29 b/filter-parser/fuzz/corpus/parse/test_29 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_29 rename to filter-parser/fuzz/corpus/parse/test_29 diff --git a/filter_parser/fuzz/corpus/parse/test_3 b/filter-parser/fuzz/corpus/parse/test_3 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_3 rename to filter-parser/fuzz/corpus/parse/test_3 diff --git a/filter_parser/fuzz/corpus/parse/test_30 b/filter-parser/fuzz/corpus/parse/test_30 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_30 rename to filter-parser/fuzz/corpus/parse/test_30 diff --git a/filter_parser/fuzz/corpus/parse/test_31 b/filter-parser/fuzz/corpus/parse/test_31 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_31 rename to filter-parser/fuzz/corpus/parse/test_31 diff --git a/filter_parser/fuzz/corpus/parse/test_32 b/filter-parser/fuzz/corpus/parse/test_32 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_32 rename to filter-parser/fuzz/corpus/parse/test_32 diff --git a/filter_parser/fuzz/corpus/parse/test_33 b/filter-parser/fuzz/corpus/parse/test_33 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_33 rename to filter-parser/fuzz/corpus/parse/test_33 diff --git a/filter_parser/fuzz/corpus/parse/test_34 b/filter-parser/fuzz/corpus/parse/test_34 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_34 rename to filter-parser/fuzz/corpus/parse/test_34 diff --git a/filter_parser/fuzz/corpus/parse/test_35 b/filter-parser/fuzz/corpus/parse/test_35 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_35 rename to filter-parser/fuzz/corpus/parse/test_35 diff --git a/filter_parser/fuzz/corpus/parse/test_36 b/filter-parser/fuzz/corpus/parse/test_36 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_36 rename to filter-parser/fuzz/corpus/parse/test_36 diff --git a/filter_parser/fuzz/corpus/parse/test_37 b/filter-parser/fuzz/corpus/parse/test_37 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_37 rename to filter-parser/fuzz/corpus/parse/test_37 diff --git a/filter_parser/fuzz/corpus/parse/test_38 b/filter-parser/fuzz/corpus/parse/test_38 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_38 rename to filter-parser/fuzz/corpus/parse/test_38 diff --git a/filter_parser/fuzz/corpus/parse/test_39 b/filter-parser/fuzz/corpus/parse/test_39 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_39 rename to filter-parser/fuzz/corpus/parse/test_39 diff --git a/filter_parser/fuzz/corpus/parse/test_4 b/filter-parser/fuzz/corpus/parse/test_4 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_4 rename to filter-parser/fuzz/corpus/parse/test_4 diff --git a/filter_parser/fuzz/corpus/parse/test_40 b/filter-parser/fuzz/corpus/parse/test_40 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_40 rename to filter-parser/fuzz/corpus/parse/test_40 diff --git a/filter_parser/fuzz/corpus/parse/test_41 b/filter-parser/fuzz/corpus/parse/test_41 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_41 rename to filter-parser/fuzz/corpus/parse/test_41 diff --git a/filter_parser/fuzz/corpus/parse/test_42 b/filter-parser/fuzz/corpus/parse/test_42 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_42 rename to filter-parser/fuzz/corpus/parse/test_42 diff --git a/filter_parser/fuzz/corpus/parse/test_43 b/filter-parser/fuzz/corpus/parse/test_43 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_43 rename to filter-parser/fuzz/corpus/parse/test_43 diff --git a/filter_parser/fuzz/corpus/parse/test_5 b/filter-parser/fuzz/corpus/parse/test_5 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_5 rename to filter-parser/fuzz/corpus/parse/test_5 diff --git a/filter_parser/fuzz/corpus/parse/test_6 b/filter-parser/fuzz/corpus/parse/test_6 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_6 rename to filter-parser/fuzz/corpus/parse/test_6 diff --git a/filter_parser/fuzz/corpus/parse/test_7 b/filter-parser/fuzz/corpus/parse/test_7 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_7 rename to filter-parser/fuzz/corpus/parse/test_7 diff --git a/filter_parser/fuzz/corpus/parse/test_8 b/filter-parser/fuzz/corpus/parse/test_8 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_8 rename to filter-parser/fuzz/corpus/parse/test_8 diff --git a/filter_parser/fuzz/corpus/parse/test_9 b/filter-parser/fuzz/corpus/parse/test_9 similarity index 100% rename from filter_parser/fuzz/corpus/parse/test_9 rename to filter-parser/fuzz/corpus/parse/test_9 diff --git a/filter_parser/fuzz/fuzz_targets/parse.rs b/filter-parser/fuzz/fuzz_targets/parse.rs similarity index 100% rename from filter_parser/fuzz/fuzz_targets/parse.rs rename to filter-parser/fuzz/fuzz_targets/parse.rs diff --git a/filter_parser/src/condition.rs b/filter-parser/src/condition.rs similarity index 100% rename from filter_parser/src/condition.rs rename to filter-parser/src/condition.rs diff --git a/filter_parser/src/error.rs b/filter-parser/src/error.rs similarity index 100% rename from filter_parser/src/error.rs rename to filter-parser/src/error.rs diff --git a/filter_parser/src/lib.rs b/filter-parser/src/lib.rs similarity index 100% rename from filter_parser/src/lib.rs rename to filter-parser/src/lib.rs diff --git a/filter_parser/src/main.rs b/filter-parser/src/main.rs similarity index 100% rename from filter_parser/src/main.rs rename to filter-parser/src/main.rs diff --git a/filter_parser/src/value.rs b/filter-parser/src/value.rs similarity index 100% rename from filter_parser/src/value.rs rename to filter-parser/src/value.rs diff --git a/filter_parser/fuzz/.gitignore b/filter_parser/fuzz/.gitignore deleted file mode 100644 index a0925114d..000000000 --- a/filter_parser/fuzz/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -target -corpus -artifacts diff --git a/milli/Cargo.toml b/milli/Cargo.toml index 36e63916c..90bd1f926 100644 --- a/milli/Cargo.toml +++ b/milli/Cargo.toml @@ -38,7 +38,7 @@ smallvec = "1.6.1" tempfile = "3.2.0" uuid = { version = "0.8.2", features = ["v4"] } -filter_parser = { path = "../filter_parser" } +filter-parser = { path = "../filter-parser" } # documents words self-join itertools = "0.10.0"