From 106b53212fd04f6dd236826d39a52443d355d553 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 20 Jan 2025 12:25:04 +0200 Subject: Clean up deps --- log_db/src/common.rs | 12 +----------- log_db/src/lib.rs | 8 +++++++- 2 files changed, 8 insertions(+), 12 deletions(-) (limited to 'log_db/src') diff --git a/log_db/src/common.rs b/log_db/src/common.rs index 9a41074..3a5fbfe 100644 --- a/log_db/src/common.rs +++ b/log_db/src/common.rs @@ -1,14 +1,4 @@ -use fs2::{lock_contended_error, FileExt}; -use once_cell::sync::Lazy; -use rust_decimal::Decimal; -use std::cmp::Ordering; -use std::collections::HashSet; -use std::fs::{self, metadata, File}; -use std::io::{self, Read, Seek, SeekFrom, Write}; -use std::ops::{Bound, RangeBounds}; -use std::path::{Path, PathBuf}; -use thiserror::Error; -use uuid::Uuid; +use super::*; // For Unix-like systems #[cfg(unix)] diff --git a/log_db/src/lib.rs b/log_db/src/lib.rs index 72e5f81..698ce64 100644 --- a/log_db/src/lib.rs +++ b/log_db/src/lib.rs @@ -2,15 +2,21 @@ extern crate log; use fs2::{lock_contended_error, FileExt}; +use once_cell::sync::Lazy; +use rust_decimal::Decimal; +use std::cmp::Ordering; use std::collections::BTreeMap; +use std::collections::HashSet; use std::fmt::Debug; use std::fmt::Display; -use std::fs::{self}; +use std::fs::{self, metadata, File}; use std::io::{self, Read, Seek, SeekFrom, Write}; use std::marker::PhantomData; use std::ops::*; use std::path::{Path, PathBuf}; use std::thread; +use thiserror::Error; +use uuid::Uuid; #[macro_use] mod common; -- cgit v1.3