datex_core/
lib.rs

1#![feature(coroutines)]
2#![feature(iter_from_coroutine)]
3#![feature(assert_matches)]
4#![feature(gen_blocks)]
5#![feature(let_chains)]
6// #![allow(unused_parens)]
7#![feature(async_iterator)]
8// FIXME #228: remove in the future, not required in edition 2024, but RustRover complains
9
10#[macro_use]
11extern crate mopa;
12
13extern crate num_integer;
14
15pub mod compiler;
16pub mod crypto;
17pub mod decompiler;
18pub mod generator;
19pub mod global;
20pub mod logger;
21pub mod network;
22pub mod parser;
23pub mod runtime;
24pub mod task;
25pub mod utils;
26pub mod values;
27
28// reexport macros
29pub use datex_macros as macros;
30extern crate self as datex_core;
31
32#[cfg(feature = "std")]
33include!("./with_std.rs");
34
35#[cfg(not(feature = "std"))]
36include!("./without_std.rs");
37
38pub mod stdlib {
39    #[cfg(feature = "std")]
40    pub use crate::with_std::*;
41    #[cfg(not(feature = "std"))]
42    pub use crate::without_std::*;
43}