From 9a33f5082b3d78adbe6f7d425e684bb464648a61 Mon Sep 17 00:00:00 2001 From: GuilhermeWerner <26710260+GuilhermeWerner@users.noreply.github.com> Date: Sun, 4 Jul 2021 10:15:23 -0300 Subject: [PATCH] Create Rust Project --- .cargo/config.toml | 2 ++ .clippy.toml | 1 + Cargo.toml | 21 +++++++++++++++++++++ Source/Http.rs | 3 +++ Source/Main.rs | 5 +++++ build.rs | 3 +++ rustfmt.toml | 0 7 files changed, 35 insertions(+) create mode 100644 .cargo/config.toml create mode 100644 .clippy.toml create mode 100644 Cargo.toml create mode 100644 Source/Http.rs create mode 100644 Source/Main.rs create mode 100644 build.rs create mode 100644 rustfmt.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..0243837 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[build] +target-dir = "Binaries" diff --git a/.clippy.toml b/.clippy.toml new file mode 100644 index 0000000..c15ce90 --- /dev/null +++ b/.clippy.toml @@ -0,0 +1 @@ +needless_return = "allow" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..06af01a --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "Http" +version = "0.0.1" +description = "TribuFu Http" +repository = "https://github.com/TribuFu/Http" +authors = ["TribuFu "] +license = "MIT" +edition = "2018" +publish = false + +[lib] +name="Http" +crate-type = ["rlib"] +path = "Source/Http.rs" + +[[bin]] +name="HttpServer" +path = "Source/Main.rs" +doc = false + +[dependencies] diff --git a/Source/Http.rs b/Source/Http.rs new file mode 100644 index 0000000..d4b786d --- /dev/null +++ b/Source/Http.rs @@ -0,0 +1,3 @@ +// Copyright (c) TribuFu. All Rights Reserved. + +#![allow(non_snake_case)] diff --git a/Source/Main.rs b/Source/Main.rs new file mode 100644 index 0000000..a38b54f --- /dev/null +++ b/Source/Main.rs @@ -0,0 +1,5 @@ +// Copyright (c) TribuFu. All Rights Reserved. + +#![allow(non_snake_case)] + +fn main() {} diff --git a/build.rs b/build.rs new file mode 100644 index 0000000..eb5b2b0 --- /dev/null +++ b/build.rs @@ -0,0 +1,3 @@ +// Copyright (c) TribuFu. All Rights Reserved. + +fn main() {} diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..e69de29