Initial commit

This commit is contained in:
h3cx committed 2026-09-29 14:10:45 +02:00
commit 3f45825a79
4 files changed
+29

No files matched your search

+1
View File
@@ -0,0 +1 @@
/target
+6
View File
@@ -0,0 +1,6 @@
[package]
name = "dynalab-core-rs"
version = "0.0.1"
edition = "2024"
[dependencies]
+8
View File
@@ -0,0 +1,8 @@
# DynaLab Core
> [!IMPORTANT]
> This rewrite is underway and in no way shape or form functional.
This repository contains the Rust rewrite of initial [DynaLab Core](https://git.h3cx.dev/Exergie/dynalab-core.git) implementation originally written in python.
The choice has been made to move over to Rust to have a higher performing back-end library as the original implementation was being restricted due to the limitations of the Python GIL interpreter as well as the asyncio stack.
+14
View File
@@ -0,0 +1,14 @@
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}