Create Rust Project

This commit is contained in:
GuilhermeWerner
2021-07-04 10:15:23 -03:00
parent 57b358e3ec
commit 9a33f5082b
7 changed files with 35 additions and 0 deletions

2
.cargo/config.toml Normal file
View File

@ -0,0 +1,2 @@
[build]
target-dir = "Binaries"

1
.clippy.toml Normal file
View File

@ -0,0 +1 @@
needless_return = "allow"

21
Cargo.toml Normal file
View File

@ -0,0 +1,21 @@
[package]
name = "Http"
version = "0.0.1"
description = "TribuFu Http"
repository = "https://github.com/TribuFu/Http"
authors = ["TribuFu <contact@tribufu.com>"]
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]

3
Source/Http.rs Normal file
View File

@ -0,0 +1,3 @@
// Copyright (c) TribuFu. All Rights Reserved.
#![allow(non_snake_case)]

5
Source/Main.rs Normal file
View File

@ -0,0 +1,5 @@
// Copyright (c) TribuFu. All Rights Reserved.
#![allow(non_snake_case)]
fn main() {}

3
build.rs Normal file
View File

@ -0,0 +1,3 @@
// Copyright (c) TribuFu. All Rights Reserved.
fn main() {}

0
rustfmt.toml Normal file
View File