From 5246344c95a6159ef142dc6e9e97328282043dcd Mon Sep 17 00:00:00 2001 From: Kould Date: Wed, 17 Jul 2024 14:06:24 +0800 Subject: [PATCH] chore: pub -> pub (crate) --- Cargo.toml | 2 +- src/fs/mod.rs | 2 +- src/scope.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 944c6bf1..fd031d83 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ tokio = ["dep:tokio"] arrow = "52" async-lock = "3" crossbeam-skiplist = "0.1" -flume = { version = "0.11.0", features = ["async"] } +flume = { version = "0.11", features = ["async"] } futures-core = "0.3" futures-io = "0.3" futures-util = "0.3" diff --git a/src/fs/mod.rs b/src/fs/mod.rs index 7a8c635f..5b06c725 100644 --- a/src/fs/mod.rs +++ b/src/fs/mod.rs @@ -13,7 +13,7 @@ use ulid::Ulid; pub(crate) type FileId = Ulid; -pub enum FileType { +pub(crate) enum FileType { WAL, PARQUET, LOG, diff --git a/src/scope.rs b/src/scope.rs index 081f1e54..0f1baf02 100644 --- a/src/scope.rs +++ b/src/scope.rs @@ -7,7 +7,7 @@ use crate::{ }; #[derive(Debug, Eq, PartialEq)] -pub struct Scope { +pub(crate) struct Scope { pub(crate) min: K, pub(crate) max: K, pub(crate) gen: FileId,