From de840360b7cb9a03e47e07f9ce231793759f89f4 Mon Sep 17 00:00:00 2001 From: Jon Janzen Date: Tue, 3 Nov 2020 15:47:59 -0700 Subject: [PATCH] init --- .gitignore | 1 + .vscode/launch.json | 45 +++++++++++++++++++++++++++++++++++++++++++++ Cargo.lock | 5 +++++ Cargo.toml | 9 +++++++++ src/main.rs | 3 +++ 5 files changed, 63 insertions(+) create mode 100644 .gitignore create mode 100644 .vscode/launch.json create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..b9be513 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,45 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "lldb", + "request": "launch", + "name": "Debug executable 'advanced-traits'", + "cargo": { + "args": [ + "build", + "--bin=advanced-traits", + "--package=advanced-traits" + ], + "filter": { + "name": "advanced-traits", + "kind": "bin" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + }, + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in executable 'advanced-traits'", + "cargo": { + "args": [ + "test", + "--no-run", + "--bin=advanced-traits", + "--package=advanced-traits" + ], + "filter": { + "name": "advanced-traits", + "kind": "bin" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..84551e9 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,5 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "advanced-traits" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..01e07dc --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "advanced-traits" +version = "0.1.0" +authors = ["Jon Janzen "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}