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-04-21 17:01:10 +02:00
|
|
|
use crate::def_package;
|
2020-04-20 18:11:25 +02:00
|
|
|
|
2021-12-20 04:42:39 +01:00
|
|
|
def_package! {
|
|
|
|
/// Standard package containing all built-in features.
|
|
|
|
///
|
|
|
|
/// # Contents
|
|
|
|
///
|
|
|
|
/// * [`CorePackage`][super::CorePackage]
|
|
|
|
/// * [`BasicMathPackage`][super::BasicMathPackage]
|
|
|
|
/// * [`BasicArrayPackage`][super::BasicArrayPackage]
|
|
|
|
/// * [`BasicBlobPackage`][super::BasicBlobPackage]
|
|
|
|
/// * [`BasicMapPackage`][super::BasicMapPackage]
|
|
|
|
/// * [`BasicTimePackage`][super::BasicTimePackage]
|
|
|
|
/// * [`MoreStringPackage`][super::MoreStringPackage]
|
|
|
|
crate::StandardPackage => |lib| {
|
|
|
|
lib.standard = true;
|
2021-11-05 16:22:05 +01:00
|
|
|
|
2021-12-20 04:42:39 +01:00
|
|
|
super::CorePackage::init(lib);
|
|
|
|
super::BasicMathPackage::init(lib);
|
|
|
|
#[cfg(not(feature = "no_index"))]
|
|
|
|
super::BasicArrayPackage::init(lib);
|
|
|
|
#[cfg(not(feature = "no_index"))]
|
|
|
|
super::BasicBlobPackage::init(lib);
|
|
|
|
#[cfg(not(feature = "no_object"))]
|
|
|
|
super::BasicMapPackage::init(lib);
|
|
|
|
#[cfg(not(feature = "no_std"))]
|
|
|
|
super::BasicTimePackage::init(lib);
|
|
|
|
super::MoreStringPackage::init(lib);
|
2021-11-23 07:58:54 +01:00
|
|
|
}
|
2021-12-20 04:42:39 +01:00
|
|
|
}
|