fidius_core/lib.rs
1// Copyright 2026 Colliery, Inc.
2//
3// Licensed under the Apache License, Version 2.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://www.apache.org/licenses/LICENSE-2.0
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// Host-only modules (archive/compression/filesystem, inventory collection).
16pub mod package;
17pub mod registry;
18
19#[cfg(feature = "async")]
20pub mod async_runtime;
21
22// Guest-essential, wasm-buildable modules now live in `fidius-guest`. They are
23// re-exported here so every existing `fidius_core::*` path (and the `fidius`
24// facade re-exports) resolves unchanged — the split (FIDIUS-I-0022) is internal.
25pub use fidius_guest::{
26 descriptor, error, hash, python_descriptor, status, value, wasm_descriptor, wire,
27};
28
29pub use descriptor::*;
30pub use error::PluginError;
31pub use status::*;
32pub use value::{from_value, to_value, Value, ValueError};
33
34// Re-export inventory so generated code can reference it via fidius_core::inventory
35pub use inventory;