Prepare for adding theseus

This commit is contained in:
Jai A
2024-07-03 13:25:49 -07:00
parent 10785f156f
commit d33a0cd589
26 changed files with 23 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
[package]
name = "theseus"
version = "0.1.0"
edition = "2021"
[dependencies]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@@ -0,0 +1,37 @@
{
"name": "theseus",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "libs/theseus/src",
"targets": {
"build": {
"executor": "@monodon/rust:check",
"outputs": ["{options.target-dir}"],
"options": {
"target-dir": "dist/target/theseus"
}
},
"test": {
"cache": true,
"executor": "@monodon/rust:test",
"outputs": ["{options.target-dir}"],
"options": {
"target-dir": "dist/target/theseus"
},
"configurations": {
"production": {
"release": true
}
}
},
"lint": {
"cache": true,
"executor": "@monodon/rust:lint",
"outputs": ["{options.target-dir}"],
"options": {
"target-dir": "dist/target/theseus"
}
}
},
"tags": []
}

View File

@@ -0,0 +1,8 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
let result = 2 + 2;
assert_eq!(result, 4);
}
}