trn_pact/lib.rs
1// Copyright 2023-2024 Futureverse Corporation Limited
2// This file is part of Pact.
3//
4// Licensed under the Apache License v2.0;
5// you may not use this file except in compliance with the License.
6// Unless required by applicable law or agreed to in writing, software
7// distributed under the License is distributed on an "AS IS" BASIS,
8// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9// See the License for the specific language governing permissions and
10// limitations under the License.
11
12// You should have received a copy of the Apache License v2.0
13// along with Pact. If not, see:
14// <https://futureverse.com/licenses/apachev2.txt>
15
16#![cfg_attr(not(feature = "std"), no_std)]
17
18// interpreter can execute in `no_std` environment
19#[cfg(not(feature = "std"))]
20extern crate alloc;
21#[cfg(feature = "std")]
22extern crate std as alloc;
23
24pub mod interpreter;
25pub mod types;