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]
|
2022-01-03 16:10:20 +01:00
|
|
|
/// * [`BitFieldPackage`][super::BitFieldPackage]
|
|
|
|
/// * [`LogicPackage`][super::LogicPackage]
|
2021-12-20 04:42:39 +01:00
|
|
|
/// * [`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);
|
2022-01-03 16:10:20 +01:00
|
|
|
super::BitFieldPackage::init(lib);
|
|
|
|
super::LogicPackage::init(lib);
|
2021-12-20 04:42:39 +01:00
|
|
|
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
|
|
|
}
|