share heed between all sub-crates

This commit is contained in:
Irevoire 2022-08-19 11:23:41 +02:00
parent 60a7221827
commit e7624abe63
No known key found for this signature in database
GPG Key ID: 7A6A970C96104F1B
3 changed files with 2 additions and 4 deletions

View File

@ -13,7 +13,6 @@ serde_json = { version = "1.0.79", features = ["preserve_order"] }
[dev-dependencies]
criterion = { version = "0.3.5", features = ["html_reports"] }
heed = { git = "https://github.com/meilisearch/heed", tag = "v0.12.1" }
rand = "0.8.5"
rand_chacha = "0.3.1"
roaring = "0.9.0"

View File

@ -11,7 +11,6 @@ cargo-fuzz = true
[dependencies]
arbitrary = "1.0"
libfuzzer-sys = "0.4"
heed = { git = "https://github.com/meilisearch/heed", tag = "v0.12.1" }
serde_json = { version = "1.0.62", features = ["preserve_order"] }
anyhow = "1.0"
tempfile = "3.3"

View File

@ -5,11 +5,11 @@ use std::io::{BufWriter, Cursor, Read, Seek, Write};
use anyhow::{bail, Result};
use arbitrary_json::ArbitraryValue;
use heed::EnvOpenOptions;
use libfuzzer_sys::fuzz_target;
use milli::documents::{DocumentsBatchBuilder, DocumentsBatchReader};
use milli::heed::EnvOpenOptions;
use milli::update::{IndexDocuments, IndexDocumentsConfig, IndexerConfig, Settings};
use milli::Index;
use milli::{Index, Object};
use serde_json::{Map, Value};
#[global_allocator]