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
9include!(concat!(env!("OUT_DIR"), "/extensions.in"));
10
11#[cfg(test)]
12mod tests {
13 use super::*;
14
15 use std::sync::LazyLock;
16
17 #[test]
18 fn core_extensions() {
19 // Force evaluation of core extensions.
20 LazyLock::force(&EXTENSIONS);
21 }
22}