diff --git a/Cargo.lock b/Cargo.lock deleted file mode 100755 index c576fdb..0000000 --- a/Cargo.lock +++ /dev/null @@ -1,23 +0,0 @@ -[root] -name = "Rust_Playground" -version = "0.0.1" -dependencies = [ - "rand 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[[package]] -name = "libc" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "rand" -version = "0.3.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -dependencies = [ - "libc 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)", -] - -[metadata] -"checksum libc 0.2.21 (registry+https://github.com/rust-lang/crates.io-index)" = "88ee81885f9f04bff991e306fea7c1c60a5f0f9e409e99f6b40e3311a3363135" -"checksum rand 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)" = "022e0636ec2519ddae48154b028864bdce4eaf7d35226ab8e65c611be97b189d" diff --git a/Cargo.toml b/Cargo.toml deleted file mode 100755 index b29154d..0000000 --- a/Cargo.toml +++ /dev/null @@ -1,15 +0,0 @@ -[package] - -name = "Rust_Playground" -version = "0.0.1" -authors = [ "Clara Benedicta Maria Mueller " ] - - -[[bin]] -name = "main" -path = "/media/win_e/Clara_Daten/etc/Programmierung/Rust/src/main.rs" - - -[dependencies] - -rand="0.3.0" diff --git a/Cargo.toml_backup b/Cargo.toml_backup deleted file mode 100755 index 5b9e98a..0000000 --- a/Cargo.toml_backup +++ /dev/null @@ -1,15 +0,0 @@ -[package] - -name = "hello_world" -version = "0.0.1" -authors = [ "Clara Benedicta Maria Mueller " ] - - -[[bin]] -name = "test" -path = "/media/win_e/Clara_Daten/etc/Programmierung/Rust/src/test.rs" - - -[dependencies] - -rand="0.3.0" diff --git a/target/debug/.cargo-lock b/target/debug/.cargo-lock deleted file mode 100755 index e69de29..0000000 diff --git a/target/debug/.fingerprint/Rust_Playground-09e9e8b47f67626e/bin-main-09e9e8b47f67626e b/target/debug/.fingerprint/Rust_Playground-09e9e8b47f67626e/bin-main-09e9e8b47f67626e deleted file mode 100755 index 5b4beaa..0000000 --- a/target/debug/.fingerprint/Rust_Playground-09e9e8b47f67626e/bin-main-09e9e8b47f67626e +++ /dev/null @@ -1 +0,0 @@ -98ae6f4d58d73a50 \ No newline at end of file diff --git a/target/debug/.fingerprint/Rust_Playground-09e9e8b47f67626e/bin-main-09e9e8b47f67626e.json b/target/debug/.fingerprint/Rust_Playground-09e9e8b47f67626e/bin-main-09e9e8b47f67626e.json deleted file mode 100755 index 9f64dca..0000000 --- a/target/debug/.fingerprint/Rust_Playground-09e9e8b47f67626e/bin-main-09e9e8b47f67626e.json +++ /dev/null @@ -1 +0,0 @@ -{"rustc":9749998217168482212,"target":17950575461743581120,"profile":14528549471338536373,"local":{"variant":"MtimeBased","fields":[[1492264153,198746900],[47,109,101,100,105,97,47,119,105,110,95,101,47,67,108,97,114,97,95,68,97,116,101,110,47,101,116,99,47,80,114,111,103,114,97,109,109,105,101,114,117,110,103,47,82,117,115,116,47,115,114,99,47,116,97,114,103,101,116,47,100,101,98,117,103,47,46,102,105,110,103,101,114,112,114,105,110,116,47,82,117,115,116,95,80,108,97,121,103,114,111,117,110,100,45,48,57,101,57,101,56,98,52,55,102,54,55,54,50,54,101,47,100,101,112,45,98,105,110,45,109,97,105,110,45,48,57,101,57,101,56,98,52,55,102,54,55,54,50,54,101]]},"features":"None","deps":[["rand v0.3.15",127043405904794477]],"rustflags":[]} \ No newline at end of file diff --git a/target/debug/.fingerprint/Rust_Playground-09e9e8b47f67626e/dep-bin-main-09e9e8b47f67626e b/target/debug/.fingerprint/Rust_Playground-09e9e8b47f67626e/dep-bin-main-09e9e8b47f67626e deleted file mode 100755 index 86d20ce..0000000 Binary files a/target/debug/.fingerprint/Rust_Playground-09e9e8b47f67626e/dep-bin-main-09e9e8b47f67626e and /dev/null differ diff --git a/target/debug/.fingerprint/hello_world-0c8f4da7f93c9c5c/bin-main-0c8f4da7f93c9c5c b/target/debug/.fingerprint/hello_world-0c8f4da7f93c9c5c/bin-main-0c8f4da7f93c9c5c deleted file mode 100755 index 6b1cf37..0000000 --- a/target/debug/.fingerprint/hello_world-0c8f4da7f93c9c5c/bin-main-0c8f4da7f93c9c5c +++ /dev/null @@ -1 +0,0 @@ -17a9309d5cd6c961 \ No newline at end of file diff --git a/target/debug/.fingerprint/hello_world-0c8f4da7f93c9c5c/bin-main-0c8f4da7f93c9c5c.json b/target/debug/.fingerprint/hello_world-0c8f4da7f93c9c5c/bin-main-0c8f4da7f93c9c5c.json deleted file mode 100755 index ec1d3f2..0000000 --- a/target/debug/.fingerprint/hello_world-0c8f4da7f93c9c5c/bin-main-0c8f4da7f93c9c5c.json +++ /dev/null @@ -1 +0,0 @@ -{"rustc":9749998217168482212,"target":17950575461743581120,"profile":14528549471338536373,"local":{"variant":"MtimeBased","fields":[[1492077381,811763100],[47,109,101,100,105,97,47,119,105,110,95,101,47,67,108,97,114,97,95,68,97,116,101,110,47,101,116,99,47,80,114,111,103,114,97,109,109,105,101,114,117,110,103,47,82,117,115,116,47,115,114,99,47,116,97,114,103,101,116,47,100,101,98,117,103,47,46,102,105,110,103,101,114,112,114,105,110,116,47,104,101,108,108,111,95,119,111,114,108,100,45,48,99,56,102,52,100,97,55,102,57,51,99,57,99,53,99,47,100,101,112,45,98,105,110,45,109,97,105,110,45,48,99,56,102,52,100,97,55,102,57,51,99,57,99,53,99]]},"features":"None","deps":[["rand v0.3.15",127043405904794477]],"rustflags":[]} \ No newline at end of file diff --git a/target/debug/.fingerprint/hello_world-0c8f4da7f93c9c5c/dep-bin-main-0c8f4da7f93c9c5c b/target/debug/.fingerprint/hello_world-0c8f4da7f93c9c5c/dep-bin-main-0c8f4da7f93c9c5c deleted file mode 100755 index f98c291..0000000 Binary files a/target/debug/.fingerprint/hello_world-0c8f4da7f93c9c5c/dep-bin-main-0c8f4da7f93c9c5c and /dev/null differ diff --git a/target/debug/.fingerprint/hello_world-943817d46c044558/bin-test-943817d46c044558 b/target/debug/.fingerprint/hello_world-943817d46c044558/bin-test-943817d46c044558 deleted file mode 100755 index 2e93f5b..0000000 --- a/target/debug/.fingerprint/hello_world-943817d46c044558/bin-test-943817d46c044558 +++ /dev/null @@ -1 +0,0 @@ -430c19affbf6a977 \ No newline at end of file diff --git a/target/debug/.fingerprint/hello_world-943817d46c044558/bin-test-943817d46c044558.json b/target/debug/.fingerprint/hello_world-943817d46c044558/bin-test-943817d46c044558.json deleted file mode 100755 index f9a940e..0000000 --- a/target/debug/.fingerprint/hello_world-943817d46c044558/bin-test-943817d46c044558.json +++ /dev/null @@ -1 +0,0 @@ -{"rustc":9749998217168482212,"target":10994546209011070589,"profile":14528549471338536373,"local":{"variant":"MtimeBased","fields":[[1492072499,359251700],[47,109,101,100,105,97,47,119,105,110,95,101,47,67,108,97,114,97,95,68,97,116,101,110,47,101,116,99,47,80,114,111,103,114,97,109,109,105,101,114,117,110,103,47,82,117,115,116,47,115,114,99,47,116,97,114,103,101,116,47,100,101,98,117,103,47,46,102,105,110,103,101,114,112,114,105,110,116,47,104,101,108,108,111,95,119,111,114,108,100,45,57,52,51,56,49,55,100,52,54,99,48,52,52,53,53,56,47,100,101,112,45,98,105,110,45,116,101,115,116,45,57,52,51,56,49,55,100,52,54,99,48,52,52,53,53,56]]},"features":"None","deps":[["rand v0.3.15",127043405904794477]],"rustflags":[]} \ No newline at end of file diff --git a/target/debug/.fingerprint/hello_world-943817d46c044558/dep-bin-test-943817d46c044558 b/target/debug/.fingerprint/hello_world-943817d46c044558/dep-bin-test-943817d46c044558 deleted file mode 100755 index ffd2366..0000000 Binary files a/target/debug/.fingerprint/hello_world-943817d46c044558/dep-bin-test-943817d46c044558 and /dev/null differ diff --git a/target/debug/.fingerprint/libc-5dc7b85e748840b4/dep-lib-libc-5dc7b85e748840b4 b/target/debug/.fingerprint/libc-5dc7b85e748840b4/dep-lib-libc-5dc7b85e748840b4 deleted file mode 100755 index ce78b54..0000000 Binary files a/target/debug/.fingerprint/libc-5dc7b85e748840b4/dep-lib-libc-5dc7b85e748840b4 and /dev/null differ diff --git a/target/debug/.fingerprint/libc-5dc7b85e748840b4/lib-libc-5dc7b85e748840b4 b/target/debug/.fingerprint/libc-5dc7b85e748840b4/lib-libc-5dc7b85e748840b4 deleted file mode 100755 index 03665ea..0000000 --- a/target/debug/.fingerprint/libc-5dc7b85e748840b4/lib-libc-5dc7b85e748840b4 +++ /dev/null @@ -1 +0,0 @@ -20054fec61dda75a \ No newline at end of file diff --git a/target/debug/.fingerprint/libc-5dc7b85e748840b4/lib-libc-5dc7b85e748840b4.json b/target/debug/.fingerprint/libc-5dc7b85e748840b4/lib-libc-5dc7b85e748840b4.json deleted file mode 100755 index 416741c..0000000 --- a/target/debug/.fingerprint/libc-5dc7b85e748840b4/lib-libc-5dc7b85e748840b4.json +++ /dev/null @@ -1 +0,0 @@ -{"rustc":9749998217168482212,"target":12335968779674043000,"profile":14528549471338536373,"local":{"variant":"Precalculated","fields":["0.2.21"]},"features":"Some([\"default\", \"use_std\"])","deps":[],"rustflags":[]} \ No newline at end of file diff --git a/target/debug/.fingerprint/rand-c9d9fbdab2355ee4/dep-lib-rand-c9d9fbdab2355ee4 b/target/debug/.fingerprint/rand-c9d9fbdab2355ee4/dep-lib-rand-c9d9fbdab2355ee4 deleted file mode 100755 index e8b8b3b..0000000 Binary files a/target/debug/.fingerprint/rand-c9d9fbdab2355ee4/dep-lib-rand-c9d9fbdab2355ee4 and /dev/null differ diff --git a/target/debug/.fingerprint/rand-c9d9fbdab2355ee4/lib-rand-c9d9fbdab2355ee4 b/target/debug/.fingerprint/rand-c9d9fbdab2355ee4/lib-rand-c9d9fbdab2355ee4 deleted file mode 100755 index e21bdb8..0000000 --- a/target/debug/.fingerprint/rand-c9d9fbdab2355ee4/lib-rand-c9d9fbdab2355ee4 +++ /dev/null @@ -1 +0,0 @@ -6dd302f84d59c301 \ No newline at end of file diff --git a/target/debug/.fingerprint/rand-c9d9fbdab2355ee4/lib-rand-c9d9fbdab2355ee4.json b/target/debug/.fingerprint/rand-c9d9fbdab2355ee4/lib-rand-c9d9fbdab2355ee4.json deleted file mode 100755 index 8d02bb2..0000000 --- a/target/debug/.fingerprint/rand-c9d9fbdab2355ee4/lib-rand-c9d9fbdab2355ee4.json +++ /dev/null @@ -1 +0,0 @@ -{"rustc":9749998217168482212,"target":16630976334449306048,"profile":14528549471338536373,"local":{"variant":"Precalculated","fields":["0.3.15"]},"features":"None","deps":[["libc v0.2.21",6532433197170361632]],"rustflags":[]} \ No newline at end of file diff --git a/target/debug/deps/liblibc-5dc7b85e748840b4.rlib b/target/debug/deps/liblibc-5dc7b85e748840b4.rlib deleted file mode 100755 index 132e437..0000000 Binary files a/target/debug/deps/liblibc-5dc7b85e748840b4.rlib and /dev/null differ diff --git a/target/debug/deps/librand-c9d9fbdab2355ee4.rlib b/target/debug/deps/librand-c9d9fbdab2355ee4.rlib deleted file mode 100755 index c8c50be..0000000 Binary files a/target/debug/deps/librand-c9d9fbdab2355ee4.rlib and /dev/null differ diff --git a/target/debug/deps/main-09e9e8b47f67626e b/target/debug/deps/main-09e9e8b47f67626e deleted file mode 100755 index da885f2..0000000 Binary files a/target/debug/deps/main-09e9e8b47f67626e and /dev/null differ diff --git a/target/debug/deps/main-0c8f4da7f93c9c5c b/target/debug/deps/main-0c8f4da7f93c9c5c deleted file mode 100755 index 8242c16..0000000 Binary files a/target/debug/deps/main-0c8f4da7f93c9c5c and /dev/null differ diff --git a/target/debug/deps/test-943817d46c044558 b/target/debug/deps/test-943817d46c044558 deleted file mode 100755 index b6557e0..0000000 Binary files a/target/debug/deps/test-943817d46c044558 and /dev/null differ diff --git a/target/debug/main b/target/debug/main deleted file mode 100755 index da885f2..0000000 Binary files a/target/debug/main and /dev/null differ diff --git a/target/debug/main.d b/target/debug/main.d deleted file mode 100755 index 9a25e52..0000000 --- a/target/debug/main.d +++ /dev/null @@ -1 +0,0 @@ -/media/win_e/Clara_Daten/etc/Programmierung/Rust/src/target/debug/main: /media/win_e/Clara_Daten/etc/Programmierung/Rust/src/main.rs diff --git a/target/debug/test b/target/debug/test deleted file mode 100755 index b6557e0..0000000 Binary files a/target/debug/test and /dev/null differ diff --git a/target/debug/test.d b/target/debug/test.d deleted file mode 100755 index 014c9ea..0000000 --- a/target/debug/test.d +++ /dev/null @@ -1 +0,0 @@ -/media/win_e/Clara_Daten/etc/Programmierung/Rust/src/target/debug/test: /media/win_e/Clara_Daten/etc/Programmierung/Rust/src/test.rs diff --git a/test2/Cargo.lock b/test2/Cargo.lock deleted file mode 100755 index fd4d033..0000000 --- a/test2/Cargo.lock +++ /dev/null @@ -1,4 +0,0 @@ -[root] -name = "test2" -version = "0.1.0" - diff --git a/test2/Cargo.toml b/test2/Cargo.toml deleted file mode 100755 index 821aafb..0000000 --- a/test2/Cargo.toml +++ /dev/null @@ -1,6 +0,0 @@ -[package] -name = "test2" -version = "0.1.0" -authors = ["clara "] - -[dependencies] diff --git a/test2/src/main.rs b/test2/src/main.rs deleted file mode 100755 index 59888d8..0000000 --- a/test2/src/main.rs +++ /dev/null @@ -1,26 +0,0 @@ -// another rust programm -// let's get started ^.^ - - -use std::io; // use io library from the standard library -// rust only uses few things by default ('prelude') -> add your needs! - - -//main function -fn main() { - println!("guess a number!"); // macro, prints string - - println!("please input your guess!."); // macro, prints string - - let mut guess = String::new(); // let -> create 'variable bindings'; String -> string type (UTF-8 encoded bit of text); '::' -> associate function; 'new()' -> created empty - let foo = 5; // 'foo' is immutable - let mut bar = 5; //'bar' is mutable - - io::stdin().read_line(&mut guess) // calling associated function // without std::io -> written 'std::io::stdin()' //returns handle to standard input - // read_line() -> calling method (like associate function, only on parcticular instant of type) an handle - // read_line():&mut guess -> passing argument to mutable reference of guess - .expect("failed to read line"); // io::Result encodes error handling information // not successful -> panic! with message "failed to read line" - - println!("you guessed: {}", guess); // print out saved string from STDIN - println!("FOO: {} & BAR: {}", foo, bar) // print out string variables -} diff --git a/test2/target/debug/.cargo-lock b/test2/target/debug/.cargo-lock deleted file mode 100755 index e69de29..0000000 diff --git a/test2/target/debug/.fingerprint/test2-03d6bc0abf1233dd/bin-test2-03d6bc0abf1233dd b/test2/target/debug/.fingerprint/test2-03d6bc0abf1233dd/bin-test2-03d6bc0abf1233dd deleted file mode 100755 index cbdb5e2..0000000 --- a/test2/target/debug/.fingerprint/test2-03d6bc0abf1233dd/bin-test2-03d6bc0abf1233dd +++ /dev/null @@ -1 +0,0 @@ -ab706db4e0a6cc76 \ No newline at end of file diff --git a/test2/target/debug/.fingerprint/test2-03d6bc0abf1233dd/bin-test2-03d6bc0abf1233dd.json b/test2/target/debug/.fingerprint/test2-03d6bc0abf1233dd/bin-test2-03d6bc0abf1233dd.json deleted file mode 100755 index 1ecf855..0000000 --- a/test2/target/debug/.fingerprint/test2-03d6bc0abf1233dd/bin-test2-03d6bc0abf1233dd.json +++ /dev/null @@ -1 +0,0 @@ -{"rustc":9749998217168482212,"target":11282531132251368481,"profile":14528549471338536373,"local":{"variant":"MtimeBased","fields":[[1492017977,202731800],[47,109,101,100,105,97,47,119,105,110,95,101,47,67,108,97,114,97,95,68,97,116,101,110,47,101,116,99,47,80,114,111,103,114,97,109,109,105,101,114,117,110,103,47,82,117,115,116,47,115,114,99,47,116,101,115,116,50,47,116,97,114,103,101,116,47,100,101,98,117,103,47,46,102,105,110,103,101,114,112,114,105,110,116,47,116,101,115,116,50,45,48,51,100,54,98,99,48,97,98,102,49,50,51,51,100,100,47,100,101,112,45,98,105,110,45,116,101,115,116,50,45,48,51,100,54,98,99,48,97,98,102,49,50,51,51,100,100]]},"features":"None","deps":[],"rustflags":[]} \ No newline at end of file diff --git a/test2/target/debug/.fingerprint/test2-03d6bc0abf1233dd/dep-bin-test2-03d6bc0abf1233dd b/test2/target/debug/.fingerprint/test2-03d6bc0abf1233dd/dep-bin-test2-03d6bc0abf1233dd deleted file mode 100755 index d492eb7..0000000 Binary files a/test2/target/debug/.fingerprint/test2-03d6bc0abf1233dd/dep-bin-test2-03d6bc0abf1233dd and /dev/null differ diff --git a/test2/target/debug/deps/test2-03d6bc0abf1233dd b/test2/target/debug/deps/test2-03d6bc0abf1233dd deleted file mode 100755 index bcade0e..0000000 Binary files a/test2/target/debug/deps/test2-03d6bc0abf1233dd and /dev/null differ diff --git a/test2/target/debug/test2 b/test2/target/debug/test2 deleted file mode 100755 index bcade0e..0000000 Binary files a/test2/target/debug/test2 and /dev/null differ diff --git a/test2/target/debug/test2.d b/test2/target/debug/test2.d deleted file mode 100755 index c6235ea..0000000 --- a/test2/target/debug/test2.d +++ /dev/null @@ -1 +0,0 @@ -/media/win_e/Clara_Daten/etc/Programmierung/Rust/src/test2/target/debug/test2: /media/win_e/Clara_Daten/etc/Programmierung/Rust/src/test2/src/main.rs