substrait/extensions.rs
1// SPDX-License-Identifier: Apache-2.0
2
3//! Substrait core extensions
4//!
5//! The contents of this module are auto-generated using `build.rs`. It is
6//! included in the packaged crate, ignored by git, and automatically kept
7//! in-sync.
8
9#[cfg(feature = "extensions")]
10include!(concat!(env!("OUT_DIR"), "/extensions.in"));
11
12#[cfg(test)]
13mod tests {
14 use super::*;
15
16 use std::sync::LazyLock;
17
18 #[test]
19 fn core_extensions() {
20 // Force evaluation of core extensions.
21 LazyLock::force(&EXTENSIONS);
22 }
23}