rhai/src/packages/pkg_core.rs

16 lines
482 B
Rust
Raw Normal View History

use super::arithmetic::ArithmeticPackage;
2020-06-25 12:07:57 +02:00
use super::fn_basic::BasicFnPackage;
use super::iter_basic::BasicIteratorPackage;
use super::logic::LogicPackage;
use super::string_basic::BasicStringPackage;
2020-11-23 12:11:32 +01:00
use crate::def_package;
2020-04-22 08:55:40 +02:00
def_package!(crate:CorePackage:"_Core_ package containing basic facilities.", lib, {
2020-04-21 17:01:10 +02:00
ArithmeticPackage::init(lib);
LogicPackage::init(lib);
BasicStringPackage::init(lib);
BasicIteratorPackage::init(lib);
2020-06-25 12:07:57 +02:00
BasicFnPackage::init(lib);
2020-04-21 17:01:10 +02:00
});