Remove dev-dependency insta

This commit is contained in:
Lukas Wirth 2024-02-07 16:30:20 +01:00
parent def5a1d0c4
commit e339c65a1a
24 changed files with 188 additions and 310 deletions

View file

@ -1,3 +1,4 @@
//!
use crate::debug::TableEntry;
use crate::durability::Durability;
use crate::hash::FxIndexMap;

View file

@ -1,3 +1,4 @@
//!
use crate::debug::TableEntry;
use crate::derived::MemoizationPolicy;
use crate::durability::Durability;

View file

@ -1,3 +1,4 @@
//!
#![allow(dead_code)]
/// Test that a database with a key/value that is not `Send` will,

View file

@ -1,3 +1,4 @@
//!
/// Describes how likely a value is to change -- how "durable" it is.
/// By default, inputs have `Durability::LOW` and interned values have
/// `Durability::HIGH`. But inputs can be explicitly set with other

View file

@ -1,3 +1,4 @@
//!
pub(crate) type FxHasher = std::hash::BuildHasherDefault<rustc_hash::FxHasher>;
pub(crate) type FxIndexSet<K> = indexmap::IndexSet<K, FxHasher>;
pub(crate) type FxIndexMap<K, V> = indexmap::IndexMap<K, V, FxHasher>;

View file

@ -1,3 +1,4 @@
//!
use crate::debug::TableEntry;
use crate::durability::Durability;
use crate::hash::FxIndexMap;

View file

@ -1,3 +1,4 @@
//!
use std::fmt;
use std::num::NonZeroU32;

View file

@ -1,3 +1,4 @@
//!
use crate::debug::TableEntry;
use crate::durability::Durability;
use crate::intern_id::InternId;

View file

@ -1,3 +1,4 @@
//!
#![allow(clippy::type_complexity)]
#![allow(clippy::question_mark)]
#![warn(rust_2018_idioms)]

View file

@ -1,3 +1,4 @@
//!
use oorandom::Rand64;
use parking_lot::Mutex;
use std::fmt::Debug;

View file

@ -1,3 +1,4 @@
//!
#![allow(missing_docs)]
use crate::debug::TableEntry;

View file

@ -1,3 +1,4 @@
//!
use std::num::NonZeroU32;
use std::sync::atomic::{AtomicU32, Ordering};

View file

@ -1,3 +1,4 @@
//!
use crate::durability::Durability;
use crate::hash::FxIndexSet;
use crate::plumbing::CycleRecoveryStrategy;

View file

@ -1,3 +1,4 @@
//!
use triomphe::Arc;
use crate::{DatabaseKeyIndex, RuntimeId};

View file

@ -1,3 +1,4 @@
//!
use tracing::debug;
use crate::durability::Durability;

View file

@ -1,3 +1,4 @@
//!
use crate::{plumbing::DatabaseStorageTypes, Runtime};
use triomphe::Arc;