From dcf60d11037eec46c5a6c955bc8ff6460197090f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20L=C3=BCke?= Date: Wed, 18 Sep 2019 18:04:32 +0200 Subject: [PATCH 1/3] moved files to standard rust file/folder structure --- Cargo.toml | 8 ++++---- main.rs | 9 --------- 2 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 main.rs diff --git a/Cargo.toml b/Cargo.toml index 82bf78b..4f40673 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "hello_remote_world" version = "0.1.0" -authors = ["VS Code "] +authors = ["Johannes Lüke "] + +[lib] +path ="./src/lib/lib.rs" -[[bin]] -name = "hello_remote_world" -path = "main.rs" \ No newline at end of file diff --git a/main.rs b/main.rs deleted file mode 100644 index 9151108..0000000 --- a/main.rs +++ /dev/null @@ -1,9 +0,0 @@ -/*-------------------------------------------------------------------------------------------------------------- - * Copyright (c) Microsoft Corporation. All rights reserved. - * Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. - *-------------------------------------------------------------------------------------------------------------*/ - -fn main() { - let name = "VS Code Remote - Containers"; - println!("Hello, {}!", name); -} \ No newline at end of file From 9b4aba84d026a9e65e509257cdecab45c809891f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20L=C3=BCke?= Date: Wed, 18 Sep 2019 18:04:42 +0200 Subject: [PATCH 2/3] moved files to standard rust file/folder structure --- src/lib/lib.rs | 0 src/main.rs | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 src/lib/lib.rs create mode 100644 src/main.rs diff --git a/src/lib/lib.rs b/src/lib/lib.rs new file mode 100644 index 0000000..e69de29 diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..9151108 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,9 @@ +/*-------------------------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. + *-------------------------------------------------------------------------------------------------------------*/ + +fn main() { + let name = "VS Code Remote - Containers"; + println!("Hello, {}!", name); +} \ No newline at end of file From fb4a9da6c50bfd9946a75becb5f23de19a3046d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20L=C3=BCke?= Date: Wed, 18 Sep 2019 18:06:20 +0200 Subject: [PATCH 3/3] changed author back to VS Code --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4f40673..0c469d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "hello_remote_world" version = "0.1.0" -authors = ["Johannes Lüke "] +authors = ["VS Code "] [lib] path ="./src/lib/lib.rs"