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/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..0e2ee82 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,17 @@ +[package] +name = "Library" +version = "0.0.1" +description = "Rust Library" +repository = "https://github.com/GuilhermeWerner/Libraryr" +authors = ["GuilhermeWerner "] +license = "MIT" +edition = "2018" +publish = false + +[lib] +name="Library" +crate-type = ["cdylib"] +path = "Source/Library.rs" + +[dependencies] +libc = "0.2.0" diff --git a/Source/Library.rs b/Source/Library.rs new file mode 100644 index 0000000..208ebd8 --- /dev/null +++ b/Source/Library.rs @@ -0,0 +1,3 @@ +pub fn Hello() { + println!("Hello Library"); +}