Bootstrap hello-world app

This commit is contained in:
Danny McGee
2023-09-27 10:48:41 -04:00
parent b2b74a936a
commit eb28b9bbad
9 changed files with 84 additions and 22 deletions
+1
View File
@@ -37,3 +37,4 @@ testem.log
# System Files
.DS_Store
Thumbs.db
/target
Generated
+7
View File
@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "hello_world"
version = "0.1.0"
+4
View File
@@ -0,0 +1,4 @@
[workspace]
members = [
"./hello-world"
]
+8
View File
@@ -0,0 +1,8 @@
[package]
name = "hello_world"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
+35
View File
@@ -0,0 +1,35 @@
{
"name": "hello_world",
"$schema": "../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "./hello-world/src",
"targets": {
"build": {
"executor": "@nxrs/cargo:build",
"options": {
"release": false
},
"configurations": {
"production": {
"release": true
}
}
},
"launch": {
"executor": "@nxrs"
},
"test": {
"executor": "@nxrs/cargo:test",
"options": {}
},
"lint": {
"executor": "@nxrs/cargo:clippy",
"options": {
"fix": false,
"failOnWarnings": true,
"noDeps": true
}
}
},
"tags": []
}
+3
View File
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}
+24 -22
View File
@@ -1,17 +1,16 @@
{
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build",
"lint",
"test",
"e2e"
]
}
}
"plugins": [
"@nxrs/cargo"
],
"namedInputs": {
"default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"production": [
"default"
],
"sharedGlobals": []
},
"targetDefaults": {
"build": {
@@ -24,14 +23,17 @@
]
}
},
"namedInputs": {
"default": [
"{projectRoot}/**/*",
"sharedGlobals"
],
"production": [
"default"
],
"sharedGlobals": []
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build",
"lint",
"test",
"e2e"
]
}
}
}
}
+2
View File
@@ -0,0 +1,2 @@
[toolchain]
channel = "stable"
View File