Skip to main content

rib/
lib.rs

1// Copyright 2024-2025 Golem Cloud
2//
3// Licensed under the Golem Source License v1.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://license.golem.cloud/LICENSE
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#![allow(clippy::large_enum_variant)]
16#![allow(clippy::result_large_err)]
17
18pub use call_type::*;
19pub use compiler::*;
20pub use expr::*;
21pub use function_name::*;
22pub use inferred_type::*;
23pub use instance_type::*;
24pub use interpreter::*;
25pub use parser::type_name::TypeName;
26pub use registry::*;
27pub use text::*;
28pub use type_checker::*;
29pub use type_inference::*;
30pub use type_parameter::*;
31pub use value::Value;
32pub use value_and_type::{IntoValue, IntoValueAndType, ValueAndType};
33pub use variable_id::*;
34pub use wasm_wave_text::*;
35
36mod call_type;
37
38mod profile;
39
40mod compiler;
41mod expr;
42pub mod expr_arena;
43mod function_name;
44mod inferred_type;
45mod instance_type;
46mod interpreter;
47mod parser;
48mod registry;
49mod rib_source_span;
50mod rib_type_error;
51mod text;
52mod type_checker;
53mod type_inference;
54mod type_parameter;
55mod type_parameter_parser;
56mod type_refinement;
57pub mod value;
58pub mod value_and_type;
59mod variable_id;
60mod wasm_wave_text;
61mod wave;
62pub mod wit_type;
63
64#[cfg(test)]
65test_r::enable!();