1#![no_std]
2#![warn(
3 clippy::cast_lossless,
4 clippy::missing_errors_doc,
5 clippy::used_underscore_binding,
6 clippy::redundant_closure_for_method_calls,
7 clippy::type_repetition_in_bounds,
8 clippy::inconsistent_struct_constructor,
9 clippy::default_trait_access,
10 clippy::map_unwrap_or,
11 clippy::items_after_statements
12)]
13
14mod float;
15mod fuel;
16mod func_type;
17mod global;
18pub mod hint;
19mod host_error;
20mod index_ty;
21mod limiter;
22mod memory;
23mod table;
24mod trap;
25mod typed;
26mod untyped;
27mod value;
28pub mod wasm;
29
30#[cfg(feature = "simd")]
31pub mod simd;
32
33extern crate alloc;
34#[cfg(feature = "std")]
35extern crate std;
36
37use self::value::{Float, Integer, SignExtendFrom, TruncateSaturateInto, TryTruncateInto};
38pub use self::{
39 float::{F32, F64},
40 fuel::{Fuel, FuelCosts, FuelCostsProvider, FuelError},
41 func_type::{FuncType, FuncTypeError},
42 global::{Global, GlobalError, GlobalType, Mutability},
43 host_error::HostError,
44 index_ty::IndexType,
45 limiter::{LimiterError, ResourceLimiter, ResourceLimiterRef},
46 memory::{Memory, MemoryError, MemoryType, MemoryTypeBuilder},
47 table::{ElementSegment, ElementSegmentRef, Table, TableError, TableType},
48 trap::{Trap, TrapCode},
49 typed::{Typed, TypedVal},
50 untyped::{DecodeUntypedSlice, EncodeUntypedSlice, ReadAs, UntypedError, UntypedVal, WriteAs},
51 value::{ValType, V128},
52};