risingwave_storage/
lib.rs

1// Copyright 2025 RisingWave Labs
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#![feature(allocator_api)]
16#![feature(bound_as_ref)]
17#![feature(custom_test_frameworks)]
18#![feature(coroutines)]
19#![feature(proc_macro_hygiene)]
20#![feature(stmt_expr_attributes)]
21#![feature(test)]
22#![feature(trait_alias)]
23#![feature(type_alias_impl_trait)]
24#![feature(type_changing_struct_update)]
25#![test_runner(risingwave_test_runner::test_runner::run_failpont_tests)]
26#![feature(assert_matches)]
27#![feature(btree_extract_if)]
28#![feature(exact_size_is_empty)]
29#![feature(coverage_attribute)]
30#![recursion_limit = "256"]
31#![feature(error_generic_member_access)]
32#![feature(let_chains)]
33#![feature(impl_trait_in_assoc_type)]
34#![feature(maybe_uninit_array_assume_init)]
35#![feature(iter_from_coroutine)]
36#![feature(get_mut_unchecked)]
37#![feature(portable_simd)]
38#![feature(map_try_insert)]
39
40pub mod hummock;
41pub mod memory;
42pub mod monitor;
43pub mod panic_store;
44pub mod row_serde;
45pub mod storage_value;
46#[macro_use]
47pub mod store;
48pub mod error;
49pub mod opts;
50pub mod store_impl;
51pub mod table;
52
53pub mod compaction_catalog_manager;
54pub mod mem_table;
55#[cfg(test)]
56#[cfg(feature = "failpoints")]
57mod storage_failpoints;
58pub mod vector;
59
60pub use store::{StateStore, StateStoreIter, StateStoreReadIter};
61pub use store_impl::StateStoreImpl;