diff --git a/README.md b/README.md index 2983c98c..1f6cadbd 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,6 @@ cargo bench index_build Our benchmark suite includes tests on local files and directories. These benchmarks are located in the `benches/` directory of some crates. Each benchmark sets a time limit using `group.measurement_time()`, which you can adjust manually based on your requirements. -You have the flexibility to benchmark specific files or folders by modifying the variables within the benchmark files. By default, the benchmarks operate on the [`test-assets/`](../test-assets/) directory and its contents. You can change the directory/files by setting the `DIR_PATH` and `FILE_PATHS` variables to the desired values. +You have the flexibility to benchmark specific files or folders by modifying the variables within the benchmark files. By default, the benchmarks operate on the [`test-assets/`](test-assets/) directory and its contents. You can change the directory/files by setting the `DIR_PATH` and `FILE_PATHS` variables to the desired values. For pre-benchmark assessment of required time to index a huge local folder, you can modify `test_build_resource_index` test case in `src/index.rs`. diff --git a/data-link/Cargo.toml b/data-link/Cargo.toml index e10cae11..10a8c5bc 100644 --- a/data-link/Cargo.toml +++ b/data-link/Cargo.toml @@ -6,7 +6,6 @@ edition = "2021" [lib] name = "data_link" crate-type = ["rlib"] -bench = false [dependencies] fs-atomic-light = { path = "../fs-atomic-light" } diff --git a/data-pdf/Cargo.toml b/data-pdf/Cargo.toml index 4d846bfc..a1131e1d 100644 --- a/data-pdf/Cargo.toml +++ b/data-pdf/Cargo.toml @@ -6,7 +6,6 @@ edition = "2021" [lib] name = "data_pdf" crate-type = ["rlib"] -bench = false [dependencies] once_cell = "1.16.0" diff --git a/data-resource/Cargo.toml b/data-resource/Cargo.toml index fd7399bb..bbd9292f 100644 --- a/data-resource/Cargo.toml +++ b/data-resource/Cargo.toml @@ -3,7 +3,10 @@ name = "data-resource" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[lib] +name = "data_resource" +crate-type = ["rlib"] +bench = false [dependencies] data-error = { path = "../data-error" } diff --git a/fs-atomic-light/Cargo.toml b/fs-atomic-light/Cargo.toml index 5c15bd54..abb4a81c 100644 --- a/fs-atomic-light/Cargo.toml +++ b/fs-atomic-light/Cargo.toml @@ -6,7 +6,6 @@ edition = "2021" [lib] name = "fs_atomic_light" crate-type = ["rlib"] -bench = false [dependencies] data-error = { path = "../data-error" } diff --git a/fs-atomic-versions/Cargo.toml b/fs-atomic-versions/Cargo.toml index 70372063..d3cab8e5 100644 --- a/fs-atomic-versions/Cargo.toml +++ b/fs-atomic-versions/Cargo.toml @@ -6,7 +6,6 @@ edition = "2021" [lib] name = "fs_atomic_versions" crate-type = ["rlib"] -bench = false [dependencies] data-error = { path = "../data-error" }