From 1b28558dd8379650ec2e188e94648d7264146ac0 Mon Sep 17 00:00:00 2001 From: Teascade Date: Thu, 18 Jun 2020 18:06:57 +0300 Subject: [PATCH] Init rust project --- .gitignore | 8 ++++++++ Cargo.toml | 9 +++++++++ README.md | 6 +++--- src/main.rs | 3 +++ 4 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..32fc6a5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +/target + + +#Added by cargo +# +#already existing elements were commented out + +#/target diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..63dd5fb --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "Reid" +version = "0.1.0" +authors = ["Teascade "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/README.md b/README.md index 0739a02..0aa6ac8 100644 --- a/README.md +++ b/README.md @@ -533,11 +533,11 @@ Functions like [`random() -> f32`](#random-f32), except it returns a more accura #### `time_now64() -> i64` Returns the current time in nanoseconds since January 1st 1970. -[teascade]: https://teasca.de -[omega_orig]: https://github.com/excitedneon/hero.neon.moe/blob/master/ts/omegaParser.ts +[teascade]: https://teascade.net +[omega_orig]: https://github.com/neonmoe/hero.neon.moe/blob/master/ts/omegaParser.ts [overloading]: https://en.wikipedia.org/wiki/Function_overloading [typescript]: https://www.typescriptlang.org/ [rust]: https://www.rust-lang.org/ -[reid_logo]: https://teasca.de/external_img/reid_logo.png +[reid_logo]: https://teascade.net/external_img/reid_logo.png [ccbysa]: http://creativecommons.org/licenses/by-sa/4.0/ [mit]: https://tldrlegal.com/license/mit-license \ No newline at end of file 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!"); +}