soroban_env_guest/lib.rs
1#![no_std]
2
3//! This crate provides the [Guest] type, the "stub" implementation of the [Env]
4//! interface used for communicating between a contract guest and its host. It
5//! is only defined for `cfg(target_family = "wasm")`.
6//!
7//! It also re-exports all of the content of the [soroban_env_common] crate for
8//! use by guest code. Most of the type and module definitions visible here are
9//! actually defined in the common crate.
10
11#[cfg(target_family = "wasm")]
12mod guest;
13
14#[cfg(target_family = "wasm")]
15pub use guest::Guest;
16pub use soroban_env_common::*;