Skip to main content

risingwave_expr_impl/
lib.rs

1// Copyright 2023 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#![feature(iterator_try_collect)]
24#![feature(coroutines)]
25#![cfg_attr(test, feature(test))]
26#![feature(iter_array_chunks)]
27#![feature(used_with_arg)]
28#![cfg_attr(coverage, feature(coverage_attribute))]
29
30mod aggregate;
31mod scalar;
32mod table_function;
33#[cfg(feature = "udf")]
34mod udf;
35mod window_function;
36
37/// Enable functions in this crate.
38#[macro_export]
39macro_rules! enable {
40    () => {
41        use risingwave_expr_impl as _;
42    };
43}