summaryrefslogtreecommitdiff
path: root/library/src/compute/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-07-02 19:59:52 +0200
committerLaurenz <laurmaedje@gmail.com>2023-07-02 20:07:43 +0200
commitebfdb1dafa430786db10dad2ef7d5467c1bdbed1 (patch)
tree2bbc24ddb4124c4bb14dec0e536129d4de37b056 /library/src/compute/mod.rs
parent3ab19185093d7709f824b95b979060ce125389d8 (diff)
Move everything into `crates/` directory
Diffstat (limited to 'library/src/compute/mod.rs')
-rw-r--r--library/src/compute/mod.rs39
1 files changed, 0 insertions, 39 deletions
diff --git a/library/src/compute/mod.rs b/library/src/compute/mod.rs
deleted file mode 100644
index e9e4870c..00000000
--- a/library/src/compute/mod.rs
+++ /dev/null
@@ -1,39 +0,0 @@
-//! Computational functions.
-
-pub mod calc;
-mod construct;
-mod data;
-mod foundations;
-
-pub use self::construct::*;
-pub use self::data::*;
-pub use self::foundations::*;
-
-use crate::prelude::*;
-
-/// Hook up all compute definitions.
-pub(super) fn define(global: &mut Scope) {
- global.define("type", type_func());
- global.define("repr", repr_func());
- global.define("panic", panic_func());
- global.define("assert", assert_func());
- global.define("eval", eval_func());
- global.define("int", int_func());
- global.define("float", float_func());
- global.define("luma", luma_func());
- global.define("rgb", rgb_func());
- global.define("cmyk", cmyk_func());
- global.define("datetime", datetime_func());
- global.define("symbol", symbol_func());
- global.define("str", str_func());
- global.define("label", label_func());
- global.define("regex", regex_func());
- global.define("range", range_func());
- global.define("read", read_func());
- global.define("csv", csv_func());
- global.define("json", json_func());
- global.define("toml", toml_func());
- global.define("yaml", yaml_func());
- global.define("xml", xml_func());
- global.define("calc", calc::module());
-}