summaryrefslogtreecommitdiffstats
path: root/rust/src/lib.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-17 14:32:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-17 14:32:20 +0000
commitdb51f7f103bbbd6c91c8f47d75b3482ef8939691 (patch)
treeab59b1147bd0cd39f31a48073cff236ede4ec1df /rust/src/lib.rs
parentAdding upstream version 3.0.0~a1. (diff)
downloadpendulum-db51f7f103bbbd6c91c8f47d75b3482ef8939691.tar.xz
pendulum-db51f7f103bbbd6c91c8f47d75b3482ef8939691.zip
Adding upstream version 3.0.0.upstream/3.0.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'rust/src/lib.rs')
-rw-r--r--rust/src/lib.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/rust/src/lib.rs b/rust/src/lib.rs
new file mode 100644
index 0000000..bd0f1f6
--- /dev/null
+++ b/rust/src/lib.rs
@@ -0,0 +1,12 @@
+extern crate core;
+
+#[cfg(feature = "mimalloc")]
+#[global_allocator]
+static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
+
+mod constants;
+mod helpers;
+mod parsing;
+mod python;
+
+pub use python::_pendulum;