Update heed-types to 0.7.1

This commit is contained in:
Clément Renault
2020-10-19 11:52:59 +02:00
parent 5b4eda670b
commit ff389f1270
2 changed files with 10 additions and 11 deletions

View File

@ -1,10 +1,9 @@
use std::path::Path;
use std::sync::Arc;
use crossbeam_channel::{Sender, Receiver};
use crossbeam_channel::Sender;
use heed::types::{OwnedType, DecodeIgnore, SerdeJson, ByteSlice};
use heed::{EnvOpenOptions, Env, Database};
use once_cell::sync::OnceCell;
use serde::{Serialize, Deserialize};
use crate::BEU64;
@ -18,7 +17,7 @@ pub struct UpdateStore<M> {
notification_sender: Sender<()>,
}
impl<M: 'static + Send + Sync> UpdateStore<M> {
impl<M: 'static> UpdateStore<M> {
pub fn open<P, F>(
mut options: EnvOpenOptions,
path: P,