Skip to main content

risingwave_storage/
lib.rs

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