risingwave_expr_impl/
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//! Function implementations.
16//!
17//! To enable functions in this crate, add the following line to your code:
18//!
19//! ```
20//! risingwave_expr_impl::enable!();
21//! ```
22
23#![allow(non_snake_case)] // for `ctor` generated code
24#![feature(let_chains)]
25#![feature(assert_matches)]
26#![feature(iterator_try_collect)]
27#![feature(coroutines)]
28#![feature(test)]
29#![feature(iter_array_chunks)]
30#![feature(result_flattening)]
31#![feature(used_with_arg)]
32#![feature(coverage_attribute)]
33
34mod aggregate;
35mod scalar;
36mod table_function;
37mod udf;
38mod window_function;
39
40/// Enable functions in this crate.
41#[macro_export]
42macro_rules! enable {
43    () => {
44        use risingwave_expr_impl as _;
45    };
46}