1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// SPDX-License-Identifier: Apache-2.0
//! Packaged Substrait extension files.
//!
//! This crate bundles the Substrait specification's extension YAML files, the
//! text-based JSON schemas, and the function test cases, alongside Rust types
//! generated from the schemas with [`typify`](https://docs.rs/typify).
//!
//! Versions of this crate correspond to Substrait
//! [releases](https://github.com/substrait-io/substrait/releases).
//!
//! - [`text`] — types generated from the text schemas (e.g.
//! [`text::simple_extensions::SimpleExtensions`]).
//! - [`extensions`] — the embedded extension YAML files and an [`extensions::EXTENSIONS`]
//! lookup map.
//! - [`testcases`] — the embedded function test case files.
/// Types generated from the Substrait text-based JSON schemas.
/// The embedded Substrait core extension YAML files.
///
/// The contents of this module are auto-generated by `build.rs` and kept in
/// sync with the packaged extension files.
/// The embedded Substrait function test case files.