hyperlight_component_util/
lib.rs

1/*
2Copyright 2025 The Hyperlight Authors.
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8    http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15 */
16
17// This, unlike the rest of hyperlight, isn't really a library (since
18// it's only used by our own build-time tools), so the reasons not to
19// panic don't really apply.
20#![allow(clippy::unwrap_used)]
21// "Needless" lifetimes are useful for clarity
22#![allow(clippy::needless_lifetimes)]
23
24// Typechecking and elaboration
25pub mod component;
26pub mod elaborate;
27pub mod etypes;
28pub mod structure;
29pub mod substitute;
30pub mod subtype;
31pub mod tv;
32pub mod wf;
33
34// Generally useful for code emit
35pub mod emit;
36pub mod hl;
37pub mod resource;
38pub mod rtypes;
39pub mod util;
40
41// Specific code emit
42pub mod guest;
43pub mod host;