foyer_storage/lib.rs
1// Copyright 2026 foyer Project Authors
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//! A disk cache engine that serves as the disk cache backend of `foyer`.
16
17#![cfg_attr(feature = "nightly", feature(allocator_api))]
18#![cfg_attr(feature = "nightly", feature(write_all_vectored))]
19
20mod compress;
21mod engine;
22mod filter;
23mod io;
24mod keeper;
25mod serde;
26mod store;
27
28mod prelude;
29pub use prelude::*;
30
31#[cfg(any(test, feature = "test_utils"))]
32pub mod test_utils;