2020-04-21 17:25:12 +02:00
|
|
|
#[cfg(not(feature = "no_index"))]
|
2020-04-20 18:11:25 +02:00
|
|
|
use super::array_basic::BasicArrayPackage;
|
2021-11-23 07:58:54 +01:00
|
|
|
#[cfg(not(feature = "no_index"))]
|
|
|
|
use super::blob_basic::BasicBlobPackage;
|
2020-04-21 17:25:12 +02:00
|
|
|
#[cfg(not(feature = "no_object"))]
|
2020-04-20 18:11:25 +02:00
|
|
|
use super::map_basic::BasicMapPackage;
|
|
|
|
use super::math_basic::BasicMathPackage;
|
|
|
|
use super::pkg_core::CorePackage;
|
|
|
|
use super::string_more::MoreStringPackage;
|
2020-04-24 06:39:24 +02:00
|
|
|
#[cfg(not(feature = "no_std"))]
|
2020-04-20 18:11:25 +02:00
|
|
|
use super::time_basic::BasicTimePackage;
|
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
|
|
|
|
2020-04-22 08:55:40 +02:00
|
|
|
def_package!(crate:StandardPackage:"_Standard_ package containing all built-in features.", lib, {
|
2021-11-05 16:22:05 +01:00
|
|
|
lib.standard = true;
|
|
|
|
|
2020-04-21 17:01:10 +02:00
|
|
|
CorePackage::init(lib);
|
|
|
|
BasicMathPackage::init(lib);
|
|
|
|
#[cfg(not(feature = "no_index"))]
|
2021-11-23 07:58:54 +01:00
|
|
|
{
|
|
|
|
BasicArrayPackage::init(lib);
|
|
|
|
BasicBlobPackage::init(lib);
|
|
|
|
}
|
2020-04-21 17:01:10 +02:00
|
|
|
#[cfg(not(feature = "no_object"))]
|
|
|
|
BasicMapPackage::init(lib);
|
2020-04-24 06:39:24 +02:00
|
|
|
#[cfg(not(feature = "no_std"))]
|
2020-04-21 17:01:10 +02:00
|
|
|
BasicTimePackage::init(lib);
|
|
|
|
MoreStringPackage::init(lib);
|
|
|
|
});
|