1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// SPDX-FileCopyrightText: 2022-2023 TriliTech <contact@trili.tech>
// SPDX-FileCopyrightText: 2023 Marigold <marigold@marigold.dev>
//
// SPDX-License-Identifier: MIT

#![doc = include_str!("../README.md")]
#![cfg_attr(not(feature = "alloc"), no_std)]
#![deny(missing_docs)]
#![deny(rustdoc::broken_intra_doc_links)]
#![forbid(unsafe_code)]

#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(feature = "crypto")]
extern crate tezos_crypto_rs as crypto;
extern crate tezos_smart_rollup_host as host;

#[cfg(feature = "crypto")]
pub mod contract;
pub mod dac;
#[cfg(feature = "alloc")]
pub mod entrypoint;
#[cfg(feature = "alloc")]
pub mod inbox;
#[cfg(feature = "alloc")]
pub mod michelson;
#[cfg(feature = "alloc")]
pub mod outbox;
#[cfg(feature = "crypto")]
pub mod public_key;
#[cfg(feature = "crypto")]
pub mod public_key_hash;

#[cfg(feature = "crypto")]
pub mod smart_rollup;
pub mod timestamp;

#[cfg(feature = "testing")]
pub mod testing;