2021-04-17 09:15:54 +02:00
|
|
|
#[cfg(feature = "no_std")]
|
|
|
|
use std::prelude::v1::*;
|
2020-04-20 18:11:25 +02:00
|
|
|
|
2020-11-23 12:11:32 +01:00
|
|
|
use crate::def_package;
|
2020-04-20 18:11:25 +02:00
|
|
|
|
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]
|
2022-02-10 05:33:48 +01:00
|
|
|
pub CorePackage(lib) {
|
2021-12-20 04:42:39 +01:00
|
|
|
lib.standard = true;
|
2021-11-05 16:22:05 +01:00
|
|
|
|
2021-12-20 04:42:39 +01:00
|
|
|
super::LanguageCorePackage::init(lib);
|
|
|
|
super::ArithmeticPackage::init(lib);
|
|
|
|
super::BasicStringPackage::init(lib);
|
|
|
|
super::BasicIteratorPackage::init(lib);
|
|
|
|
super::BasicFnPackage::init(lib);
|
2022-01-25 07:32:42 +01:00
|
|
|
#[cfg(feature = "debugging")]
|
|
|
|
super::DebuggingPackage::init(lib);
|
2021-12-20 04:42:39 +01:00
|
|
|
}
|
|
|
|
}
|