Create Cargo Project

This commit is contained in:
GuilhermeWerner
2021-01-03 10:54:31 -03:00
parent e762645c37
commit 55ef94f93f
3 changed files with 22 additions and 0 deletions

2
.cargo/config.toml Normal file
View File

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

17
Cargo.toml Normal file
View File

@ -0,0 +1,17 @@
[package]
name = "Library"
version = "0.0.1"
description = "Rust Library"
repository = "https://github.com/GuilhermeWerner/Libraryr"
authors = ["GuilhermeWerner <guilhermeqwerner@gmail.com>"]
license = "MIT"
edition = "2018"
publish = false
[lib]
name="Library"
crate-type = ["cdylib"]
path = "Source/Library.rs"
[dependencies]
libc = "0.2.0"

3
Source/Library.rs Normal file
View File

@ -0,0 +1,3 @@
pub fn Hello() {
println!("Hello Library");
}