rhai/src/packages/pkg_core.rs

29 lines
835 B
Rust
Raw Normal View History

2021-04-17 09:15:54 +02:00
#[cfg(feature = "no_std")]
use std::prelude::v1::*;
2022-08-18 11:22:56 +02:00
use super::*;
2020-11-23 12:11:32 +01:00
use crate::def_package;
2021-12-20 04:42:39 +01:00
def_package! {
/// Core package containing basic facilities.
///
/// # Contents
///
/// * [`LanguageCorePackage`][super::LanguageCorePackage]
/// * [`ArithmeticPackage`][super::ArithmeticPackage]
/// * [`BasicStringPackage`][super::BasicStringPackage]
/// * [`BasicIteratorPackage`][super::BasicIteratorPackage]
/// * [`BasicFnPackage`][super::BasicFnPackage]
2022-01-25 07:32:42 +01:00
/// * [`DebuggingPackage`][super::DebuggingPackage]
pub CorePackage(lib) :
2022-08-18 11:22:56 +02:00
LanguageCorePackage,
ArithmeticPackage,
BasicStringPackage,
BasicIteratorPackage,
BasicFnPackage,
#[cfg(feature = "debugging")] DebuggingPackage
{
2021-12-20 04:42:39 +01:00
lib.standard = true;
}
}